Fredrik Bergström wrote:
> Dear Linux-net'ers,
> Im trying to set up a linux router to connect our local net onto the
> All machines in our network have public IP numbers.
> Here is the setup:
> | Internet | gw 10.10.10.129
> | 10.10.10.130 (eth1)
> | 10.10.10.156 (eth0)
> | | |
> Comp1 Comp2 Comp3
> 10.10.10.144 10.10.10.149 10.10.10.145
> This is the setup I want, I got a 255.255.255.224 netmask.
> The problem is that when I send a ping from Comp3 the ping will get
> forwarded from eth0 onto eth1 but I wont get any answer back, ipchains
> will not log anything more then input, forward and output for the ping
> I've added the gateway to default route, the machines is added so that
> when I ping from the router to the Internet or to a machine it will
> I would appreciate some help on this, or some pointers, links or
> thoughts about routing this way.
> Regards, Fredrik Bergstrom
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to firstname.lastname@example.org
I may be mistaken but if you're using 255.255.255.224 for a netmask, then
the ip-addresses of your router map into the same subnet: the one from 128
(networkaddress) upto 159(broadcastaddress). This will not be your
If you use routed as your sole means of routing, you'd better use the "-s"
(from supply routes) option (using REDHAT you have to patch it in).
Hope to have been of service,
-- Hugo Bokman (0653416393) A R T W A R E B.V. Waardsedijk 15 3417 NA Snelrewaard ph:(+31) 348472005 fx:(+31) 348472097 email@example.com http://www.artware.nl
- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:33 EST