Router help request
MonMotha
monmotha at indy.rr.com
Mon Dec 31 10:16:50 PST 2001
What you need to do is configure the router exactly as you would if it
were a normal client using the settings given to you by your ISP (this
is probably DHCP for a cable modem/non-PPPoE DSL), then set up ip
masquerading on it. On the clients behind your router (the ones to be
masqueraded and won't have a public IP), assign them an IP in the range
you told your router to masquerade, and set your router as their default
gateway. These internal clients need not know a thing about the outside
world other than that they can get there through your router.
--MonMotha
beesond001 at hawaii.rr.com wrote:
> To all,
>
> OK, time for an update. I've changed the firewall rules to not use the
> MAC_MASQ scheme, and turned off dhcpd so I can get static routing up and
> running. I'll put off dynamic routing for a while until I can get the
> router to route. Right now, the router can be used to talk between boxes
> on the LAN, or get the router itself to connect to the 'net, but I cannot
> get the LAN boxes to talk to the 'net. Of course, this may mean that the
> LAN boxes will see each other anyway because of the hub... This puts
> me closer to the goal, but I'm still not there yet. Anyway, here is the
> /etc/hosts table I'm working with...
>
> 192.168.1.20 sparky
> 192.168.1.25 iMac
> 192.168.1.26 WindozeHP
> 192.168.0.1 router
> 192.168.1.22 herky
> 192.168.1.21 VALinux
>
> Here is the routing table from one of the clients on the LAN: (ignore
> the eth0 entry in the client version as the ethernet device was inactive
> and unplugged...)
>
> [root at a24b94n86client186 ben]# /sbin/route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> herky * 255.255.255.255 UH 0 0 0
> eth1
> 24.94.86.0 * 255.255.255.0 U 0 0 0
> eth0
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth1
> 127.0.0.0 * 255.0.0.0 U 0 0 0
> lo
> [root at a24b94n86client186 ben]#
>
>
>
>
> Here is the routing table from the router itself.
>
>
> [root at router root]# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 255.255.255.255 * 255.255.255.255 UH 0 0 0
> eth1
> 24.94.86.0 * 255.255.255.0 U 0 0 0
> eth0
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth1
> 192.168.0.0 * 255.255.255.0 U 0 0 0
> eth1
> 127.0.0.0 * 255.0.0.0 U 0 0 0
> lo
> default 24.94.86.1 0.0.0.0 UG 0 0 0
> eth0
> [root at router root]#
>
>
> I'm not sure, but I think I need a gateway entry or something in the
> router. I need a way to get the network packets entering from eth1 on
> the router to get sent straight to eth0 on the router and out to the net
> with address translation and all the goodies that go with it. Any
> suggestions would be greatly appreciated.
>
> Thanks,
>
> Ben
>
>
>
> ---
> You are currently subscribed to luau as: monmotha at indy.rr.com
> To unsubscribe send a blank email to $subst('Email.Unsub')
>
>
More information about the LUAU
mailing list