RE: [Linux-ag] iki ethernet kartı takmak

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Vasfi UYSAL (vasfi.uysal@mail.ege.edu.tr)
Date: Mon 05 Jun 2006 - 07:55:23 GMT


Ayni subnetteki makinelere erismek icin herhangi bir route tanimlamaniza
gerek yokki
172.17.113.200 ip adresli interface subnet mask ne ise o networkteki tum
makinelere
zaten herhangi bir yonlendirme olmadan erisecektir

Kolay Gelsin

-----Original Message-----
From: linux-ag-bounces@liste.linux.org.tr
[mailto:linux-ag-bounces@liste.linux.org.tr] On Behalf Of yaşar tunçez
Sent: Monday, June 05, 2006 10:37 AM
To: linux-ag@liste.linux.org.tr
Subject: [Linux-ag] iki ethernet kartı takmak

Merhaba,
OpenSuse 10.0 kullanıyorum. Makinaya iki tane ethernet kartı taktım.
Birisinden (eth0) yerel ağ üzerinden internete çıkıyorum, diğerinden ise
intranetteki (eth1) bir başka ağa çıkmak istiyorum.
Bunun için;
route add -net 172.17.113.0 netmask 255.255.255.0 dev eth1 komutunu
çalıştırdım. Ama intranete bağlanamıyorum. ping atmıyor.
Çıktıları aşağıda veriyorum:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:5B:A1:56:E2
          inet addr:192.168.100.103 Bcast:192.168.100.255
Mask:255.255.255.0
          inet6 addr: fe80::211:5bff:fea1:56e2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:11948 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8447 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4385574 (4.1 Mb) TX bytes:2632836 (2.5 Mb)
          Interrupt:201 Base address:0x800

eth1 Link encap:Ethernet HWaddr 00:80:AD:72:5F:18
          inet addr:172.17.113.200 Bcast:172.17.113.255 Mask:255.255.255.0
          inet6 addr: fe80::280:adff:fe72:5f18/64 Scope:Link
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:101 errors:2559 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17097 (16.6 Kb) TX bytes:3881 (3.7 Kb)
          Interrupt:193 Base address:0xe800

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:876 errors:0 dropped:0 overruns:0 frame:0
          TX packets:876 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:129261 (126.2 Kb) TX bytes:129261 (126.2 Kb)

# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
172.17.113.0 * 255.255.255.0 U 0 0 0 eth1
172.17.113.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.100.2 0.0.0.0 UG 0 0 0 eth0

_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.