Router help request

Ben Beeson beesond001 at hawaii.rr.com
Mon Dec 31 01:22:28 PST 2001


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, or to each other at the same time 
for that matter.  This puts me closer to the goal, but I'm still not 
there yet.  Just so everyone can understand what I'm trying to do,  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
127.0.0.1		localhost

Here is the routing table from the same client on the LAN that provided 
/etc/hosts:  (ignore 
the duplicated eth0 entry in the client version as the ethernet device 
was inactive 
and unplugged on the router when I printed thse files....) 

 [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 may have messed this up.  Some how it seems 
like the routing tables for the router should be simpler.  I can't have 
two default routes can I??? (One for 192.168.X.X and one for non reserved 
addresses.)  I think I need a gateway entry or something in the router, 
or at least a way to define a network path from eth1 on the router 
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

 



More information about the LUAU mailing list