linux gw
Ljubo Brglez
ljubo.brglez at kreit.si
Sat Nov 10 17:58:35 CET 2001
Zdravo!
Nabavil sem ADSL in bi rad eno 486-tko uporabil za gateway. Not
sem dal dve mrezni kartici:
- eth0 (192.168.0.1) povezana na hub v LAN
- eth1 (192.168.0.2) povezana na ADSL modem
Problem: na tej masini ne morem pingat drugih masin v lokalni mrezi,
druge masine pa ne te. eth0 me malo za*ebava in verjetno bi moral
glede tega nekaj ukrenit...
Kaksna ideja, howto,.. ?
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
193.189.161.74 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 193.189.161.74 0.0.0.0 UG 0 0 0 ppp0
ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:48:A8:6C:77
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:90 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x300 Memory:ffffffff-ffffffff
eth1 Link encap:Ethernet HWaddr 00:80:48:AC:41:EE
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:292 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0x240 Memory:ffffffff-ffffffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3904 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:213.250.62.32 P-t-P:193.189.161.74
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
LP,
Ljubo
More information about the lugos-list
mailing list