Article View: pl.comp.os.linux.sieci
Article #1373 karty i route
From: Jakub Chojnacki
Date: Wed, 30 Dec 1998 08:36
Date: Wed, 30 Dec 1998 08:36
76 lines
3563 bytes
3563 bytes
Zrobilem
eth0 : 212.244.53.216 gw 212.244.53.221 netmask 255.255.255.248
eth1 : 212.244.53.200 gw 212.244.53.201 netmask 255.255.255.248
eth2 : 212.244.53.208 gw 212.244.53.209 netmask 255.255.255.248
route add -net 212.244.53.216 gw 212.244.53.221
route add -net 212.244.53.200 gw 212.244.53.201
route add -net 212.244.53.208 gw 212.244.53.209
route add default gw 212.244.53.193
Na 212.2444.53.221 mam www,poczte (linux)
eth0 jest podpiete do internetu (212.244.53.193)
Linux ping-uje .193
Komputer podpiety np. do eth1 ma adres .206 i widzi .201, .221 ale nie
widzi .193.
Co jeszcze moze byc zle ?
Juz raz pytalem sie o to na pl.comp.os.linux , ale nadal mam ten sam
problem.
Prosze o pomoc.
ifconfig zwraca :
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0
TX packets:58 errors:0 dropped:0 overruns:0
eth0 Link encap:Ethernet HWaddr 00:80:AD:A6:99:2E
inet addr:212.244.53.221 Bcast:212.244.53.223
Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:159 errors:0 dropped:0 overruns:0
TX packets:42 errors:0 dropped:0 overruns:0
Interrupt:3 Base address:0x300
eth1 Link encap:Ethernet HWaddr 00:80:AD:C8:66:E7
inet addr:212.244.53.201 Bcast:212.244.53.207
Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x320
eth2 Link encap:Ethernet HWaddr 00:80:AD:82:4F:AF
inet addr:212.244.53.209 Bcast:212.244.53.215
Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:157 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x340
route zwraca :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
212.244.53.216 * 255.255.255.248 U 0 0 2 eth0
212.244.53.200 * 255.255.255.248 U 0 0 0 eth1
212.244.53.208 * 255.255.255.248 U 0 0 0 eth2
127.0.0.0 * 255.0.0.0 U 0 0 1 lo
default 212.244.53.193 0.0.0.0 U 0 0 2
eth0
cat /proc/net/ip_forward zwraca
IP firewall forward rules, default 4
cat /proc/sys/net/ipv4/ip_forward
zwraca 1
Jakub Chojnacki
kuba@drescher.pl
Technical Details
Message-ID:
<ECli2.48924$O1.4349970@news.tpnet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mail From: "Jakub Chojnacki" <kuba@ns.drescher.pl> Newsgroups: pl.comp.os.linux.sieci Subject: 3 karty i route Lines: 80 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Message-ID: <ECli2.48924$O1.4349970@news.tpnet.pl> Date: Wed, 30 Dec 1998 08:36:52 GMT NNTP-Posting-Host: 212.244.53.206 X-Complaints-To: abuse@tpsa.pl X-Trace: news.tpnet.pl 915007012 212.244.53.206 (Wed, 30 Dec 1998 09:36:52 MET DST) NNTP-Posting-Date: Wed, 30 Dec 1998 09:36:52 MET DST Organization: TPNET - http://www.tpnet.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit