Need help setting up route
U. George
gatgul at gatworks.com
Sat Apr 9 03:52:45 UTC 2005
route add default gw 192.168.0.1 eth0 (on computer B.)
on computer A, there should be a gateway setup by the PPP process to
route any non 192.168.0.* packets through ppp0
Bob R. Taylor wrote:
> Hi all.
>
> I recently installed AlphaCore 0.9 on my LX164. I was running Red Hat
> 6.2. Wow! What a difference!
>
> I have tried everything (except the right thing!) to properly set up my
> routing table using the files in /etc/sysconfig and the Internet
> Configuration Wizard with no luck.
>
> ---------------- ---------------
> | Computer B | | Computer A |
> | 192.168.0.3 |<---- 192.168.0.0 ---->| 192.168.0.1 |
> | | | |
> ---------------- ---------------
> |
> |
> \/
> ---------------
> | Dial up PPP |
> | |
> ---------------
>
> The output of route -n shows:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
>
> What I *think* this should be is:
>
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 192.168.0.1 255.255.255.0 U 0 0 0 eth0
>
> How do I fix this? What file(s) do I need to edit? I really need for
> these computers to talk to each other again! I also suspect this may be
> the reason that printing a simple text file causes ghostview to run
> wild.
>
> Sorry for asking such a *simple* question that I should know the answer
> to but I can find no online documentation on what each of those files
> do! To add confusion to my mind I have found 3! files named ifcfg-eth0
> as well as duplicated hosts and resolv.conf files.
>
> Thanks in advance.
More information about the axp-list
mailing list