Re: [Linux-ag] aynı bilgisayardan farklı ağlara erişim için route komutu

---------

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

From: yaşar tunçez (ytuncez@gmail.com)
Date: Thu 08 Jun 2006 - 05:54:51 GMT


Merhaba,

#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:3677 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3020 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1227988 (1.1 Mb) TX bytes:900058 (878.9 Kb)
          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:85 errors:400 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11512 (11.2 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:585 errors:0 dropped:0 overruns:0 frame:0
          TX packets:585 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:50017 (48.8 Kb) TX bytes:50017 (48.8 Kb)

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 192.168.100.2 255.255.255.0 UG 0 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.17.113.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.0.0.0 172.17.113.2 255.0.0.0 UG 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0 0 eth0

Teşekkürler.
07.06.2006 tarihinde İlker Erek Duran <ilker.duran@gmail.com> yazmış:
> Merhaba,
>
> "ifconfig" ve "route -n" çıktılarını da gonderebilir misiniz acaba?
>
> Kolay gelsin...
>
> On 6/7/06, yaşar tunçez <ytuncez@gmail.com> wrote:ba,
> > Merhaba,
> > Ben de benzer şekilde şu komutları çalıştırdım:
> > route add -net 192.168.1.0 netmask 255..255.255.0 gw 192.168.1.2
> > route add -net 172.0.0.0 netmask 255.0.0.0 gw 172.17.113.2
> >
> > Ancak sorun şu: 192.168.1. de sorun yok. burdan internete çıkıyorum.
> > intranete çıkan 172 lerde sorun var. İntranetteki örneğin 172.23.23.1
> > makinasına ping atıyorum. Önce atıyor. Ama belirli bir süre sonra
> > kopuyor. Kabloyu takıp çıkarınca yine ping geliyor.
> > böyle bir gariplik var. Kabloyu başkasıyla denedim yine aynı.
> >
> > 07.06.2006 tarihinde İlker Erek Duran <ilker.duran@gmail.com> yazmış:
> > > Merhaba,
> > >
> > > route add -net 192.0.0.0/8 gw 192.168.1.2
> > > route add -net 172.0.0.0/8 gw 172.15.14.2
> > > route add -net 139.0.0.0/8 gw 172.15.14.2
> > >
> > > şeklinde ekleyebilirsiniz. Eger bu ayarlarin kalici olmasini istiyorsaniz
> > > /etc/sysconfig/network-scripts/ altında route- ile baslayan dosyalara
> > > yazmaniz gerekir
> > > ama tam olarak bu dosyalarin formatlarini bilemiyorum.
> > >
> > > Kolay gelsin...
> > > --
> > > İlker Erek Duran
> > > E-posta: ilker.duran@gmail.com
> > >
> > >
> > > On 6/7/06, Ustun ERGENOGLU <ustun.ergenoglu@gmail.com> wrote:
> > > > route --help ya da man route ile route komutunun kullanımını
> > > > ogrenebilirsiniz, bu ayarları route ile yapmanın zor olacağını
> > > > sanmıyorum.
> > > >
> > > > 07.06.2006 tarihinde yaşar tunçez <ytuncez@gmail.com> yazmış:
> > > > > merhaba,
> > > > >
> > > > > İşyerimdeki bilgisayardan internete yerel ağ üzerinden (statik ip)
> > > > > internete çıkıyorum. Aynı zamanda intranetimizdeki makinalara (bu
> > > > > makinaların ip leri 172 ve 139 ile başlıyor) da bu makinadan
> > > > > erişebilmek için ikinci bir ethernet taktım. M$ dan ;
> > > > > route add 192.0.0.0 mask 255.0.0.0 192.168.1.2 metric 1
> > > > > route add 172.0.0.0 mask 255.0.0.0 172.15.14.2 metric 2
> > > > > route add 139.0.0.0 mask 255.0.0.0 172.15.14.2 metric 3
> > > > >
> > > > > komutlarıyla halledebiliyorum. Linux ta bunu nasıl yapabilirim?
> > > > > Ethernet kartlarına ip leri atadım ama route komutuna baktım ama
> > > > > halledemedim.
> > > > >
> > > > > Teşekkürler.
> > > > >
> > > > > _______________________________________________
> > > > > Linux-ag mailing list
> > > > > Linux-ag@liste.linux.org.tr
> > > > > http://liste.linux.org.tr/mailman/listinfo/linux-ag
> > > > >
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > Linux-ag mailing list
> > > > Linux-ag@liste.linux.org.tr
> > > > http://liste.linux.org.tr/mailman/listinfo/linux-ag
> > > >
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Linux-ag mailing list
> > > Linux-ag@liste.linux.org.tr
> > > http://liste.linux.org.tr/mailman/listinfo/linux-ag
> > >
> > >
> > >
> >
> > _______________________________________________
> > Linux-ag mailing list
> > Linux-ag@liste.linux.org.tr
> > http://liste.linux.org.tr/mailman/listinfo/linux-ag
> >
> >
> >
>
>
> --
> İlker Erek Duran
> E-posta: ilker.duran@gmail.com
>
> _______________________________________________
> Linux-ag mailing list
> Linux-ag@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-ag
>
>
>

_______________________________________________
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.