Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #1243

Re: linux as multi-port (subnet) router using Ubuntu 11.10 server

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 09:24 -0700
Organization http://groups.google.com
Message-ID <18422322.213.1333902286409.JavaMail.geo-discussion-forums@pbag4> (permalink)
References <11134348.13.1333889415598.JavaMail.geo-discussion-forums@pbnu1> <jls6jb$50l$1@dont-email.me> <13863831.877.1333898763111.JavaMail.geo-discussion-forums@pbjk8> <20292715.691.1333900061222.JavaMail.geo-discussion-forums@pbsy3> <jlsdeu$2s1d$1@saria.nerim.net>

Show all headers | View raw


Pascal Hambourg於 2012年4月9日星期一UTC+8上午12時13分17秒寫道:
> Hello,
> 
> lincy a écrit :
> >> First, I have 192.168.1.x subnet. so. Have one firewall in front of
> >> Internet. It's 192.168.1.254, So, every machine in 192.168.1.x was
> >> default gw point to 192.168.1.254
> >>
> >> At the new 4 ports machine. I set the default gw to 192.168.1.254
> >> Then add static route, 192.168.2.x/192.168.3.x/192.168.4.x point to 192.168.1.1
> >> This machine no any rule. Just forward enable.
> > 
> > Sorry, the static route to 192.168.1.1 was setting in firewall machine.
> 
> So subnet 192.168.1.x is special : packets from a host in this subnet to
>  another subnet has to go through the firewall first and then
> (hopefully) be forwarded to the Linux router.
> 
> Let's save it for later. What about communications between subnets other
> that 192.168.1.x ?
> 
> Note : packet capture, e.g. with tcpdump, on the Linux router may help.

192.168.2.x/192.168.3.x/192.168.4.x can't ping each other.
ex: 192.168.2.x can't ping 192.168.3.x
but 192.168.2.a can ping 192.168.2.b, 192.168.3.a can ping 192.168.3.b

For web access. 192.168.2.x can access 192.168.3.x web (ex: NAS's web-UI)
For SMB/Windows access. 192.168.2.x can't access 192.168.3.x share (ex:NAS's windows share)
But SMB access with same subnet was ok.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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