On Wed, Sep 15, 2010 at 3:30 PM, Beat Siegenthaler < beat.siegentha...@beatsnet.com> wrote:
> > > On 15.09.10 21:10, Wolfgang Riegler wrote: > > > > I thought gateway_enable="YES" in /etc/rc.conf should be sufficient. > But it doesn't work. Do I need something else? > > > > > > > Looks all ok. > But does 192.168.40.1 have a route to 192.168.50.0/24 via GW > 192.168.40.122? > > > > Internet: > > > Destination Gateway Flags Refs Use Netif > Expire > > > default 192.168.40.1 UGS 0 0 rl0 > > > 127.0.0.1 link#6 UH 0 0 lo0 > > > 192.168.40.0/24 link#2 U 1 274 rl0 > > > 192.168.40.122 link#2 UHS 0 0 lo0 > > > 192.168.50.0/24 link#1 U 0 15 re0 > > > 192.168.50.1 link#1 UHS 0 0 lo0 > > > > Gruss Beat > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > As Beat questioned, I suspect your company network (192.168.40.0/24) know that it must use your machine (192.168.50.122) as it's gateway to get to 192.168.50.0/24 ? In other words, it would appear you have one side of the equation correct but are missing the other side. Assuming the other gateway is the (single) default gateway for 192.168.40.0/24 - you should simply have to add a route on that router instructing it to use 192.168.40.122 (your ip) as the gateway to the other subnet you created as 192.168.50.0/24. NETWORK A -> use 192.168.50.1 as default gateway 192.168.50.1 == router == 192.168.40.122 NETWORK B -> use 192.168.40.1 as default gateway 192.168.40.1 == router -> add entry on this router to use 192.168.40.122 to get to 192.168.50.1 Unfortunately, without seeing the route table for both sides I can't be sure - but like I'd said and Beat had eluded to, I think your missing the instructions to the other side of the route. -- Nathan Vidican nat...@vidican.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"