[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: vmlinux.gz with IP-Masquerade support



On Fri, 1 May 1998, Michael Chao wrote:

> Can anybody mail me the boot file (vmlinux.gz)?
> I am using a DEC UDB 166MHz with RedHat Linux 5.0 on it.
> I tried to recompile by myself.
> Everything seems fine, but I still get some error message.
> Like:
> kernel: unaligned trap at fffffc00003903a0:fffffc00004ae11 29 2
> 
> These error messages appear every few seconds.
> So I think there should be some problems.

There's a section on the unaligned trap errors in the FAQ:

http://www.redhat.com/linux-info/alpha/faq/FAQ-1.html#ss1.2
 
> By theh way, can anybody tell me how to set the IP-Masquerade work?
> I can see two device,  ppp0 and eth0 on my UDB.
> I can ping the ip in the same sub-net through ppp0 (dial-up link).
> But when I try to ping the outside ip, it will go through the eth0 device.
> How can I set it work all through the ppp0 device?
> And the eth0 device will be a illegal ip to communicate with the LAN.

Sounds like your routing is backwards.

Make sure eth0 is set up with the correct netmask, etc. If it is, a route
should be set that directs all of the traffic for the LAN subnet to it.
You can see your routing table by typing "route" or "netstat -r".

Also, ppp0 should be set as your default gateway. That way any packets
for addresses that are not in your routing table will get sent out the PPP
link. Do not set a gateway for eth0 -- it should only be routing packets
to the local ethernet.


Rich



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []