Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #1251
| From | lincy <lincylin@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: linux as multi-port (subnet) router using Ubuntu 11.10 server |
| Date | 2012-04-08 17:13 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <13689836.1943.1333930427032.JavaMail.geo-discussion-forums@pbvs10> (permalink) |
| References | (4 earlier) <jlsdeu$2s1d$1@saria.nerim.net> <18422322.213.1333902286409.JavaMail.geo-discussion-forums@pbag4> <jlsehl$2sf8$1@saria.nerim.net> <26518308.9.1333903498341.JavaMail.geo-discussion-forums@pbtd9> <jlsjd0$2u7i$1@saria.nerim.net> |
Pascal Hambourg於 2012年4月9日星期一UTC+8上午1時54分39秒寫道: > lincy a écrit : > >> Did you check that /proc/sys/net/ipv4/ip_forward is actually set to 1 ? > >> What is the output of "route -n" or "ip route" on the Linux router and > >> on a host in each subnet ? > >> What is the exact result (output) of the ping commands ? > >> What is the output of iptables-save on the Linux router ? > > > > 1. yes, It's 1 > > > > 2. 4 ports router. > > Kernel IP routing table > > Destination Gateway Genmask Flags Metric Ref Use Iface > > 0.0.0.0 192.168.1.254 0.0.0.0 UG 100 0 0 eth0 > > 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 > > 192.168.3.0 * 255.255.255.0 U 0 0 0 eth2 > > 192.168.4.0 * 255.255.255.0 U 0 0 0 eth3 > > 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 > > > > client machine. (windows) > > IP address : 192.168.2.181 > > netmask : 255.255.255.0 > > gateway : 192.168.2.1 > > What about the host on the other subnet, 192.168.3.51 ? IP address : 192.168.3.51 netmask : 255.255.255.0 gateway : 192.168.3.1 > > > 3. > > ping 192.168.3.51 > > Timeout... > > Timeout... > > I would run tcpdump on the router to see what is going on... I have using tcpdump to listen eth1 (192.168.2.0) and eth2 (192.168.3.0), I have saw the 192.168.3.51 have echo icmp request. But this package only reach 192.168.3.1, not going to 192.168.2.1, so, 192.168.2.181 report time out.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 05:50 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-04-08 17:16 +0300
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 08:26 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 08:47 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 18:13 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 09:24 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 18:31 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 09:44 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 19:54 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 17:13 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-09 10:45 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-09 06:40 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-09 21:01 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-09 12:56 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-09 23:33 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-04-10 08:55 +0300
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-09 23:40 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-04-10 14:39 +0300
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-10 08:22 -0700
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-04-08 21:13 +0300
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-04-08 20:48 +0200
Re: linux as multi-port (subnet) router using Ubuntu 11.10 server lincy <lincylin@gmail.com> - 2012-04-08 17:25 -0700
csiph-web