I have a pc which I can connect to the net using wvdial (named brambles) and is set to be the gateway (standard dial up access on a 56 Modem) and a second pc (plum) connected to it from an ethernet card.
Both pc's run Redhat 8 and both can ping each other and call each other by hostname (set up in HOSTS --
have no clue how to do DNS or DHCP.....
)
Could anyone explain what I need to do to access the net from my 2nd Redhat Box. I have the defalt route set to the Gateway PC on plum like so:-
My ip's are:-
Brambles: 192.168.0.2
Plum: 192.168.0.1
(had to chop a few bits from these to make em fit in here...)
[root@plum Max]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Iface
192.168.0.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
0.0.0.0 192.168.0.2 0.0.0.0 eth0
I am sure something is pretty wrong here but cannot figure out what ...
netstat -nr for Brambles.
Destination Gateway Genmask Iface
192.168.0.0 0.0.0.0 255.255.255.0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 lo
route for Brambles
[root@brambles Max]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Iface
192.168.0.0 * 255.255.255.0 eth0
127.0.0.0 * 255.0.0.0 lo
Is the first line on both these tables correct also ? It does not look right but I cannot figure it out despite
numerous searches.
I'm almost there with this --- but ;-) just can't quite fire on all six cylinders --- someone help!