Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-29-2003, 06:13 PM   #1
Registered: Sep 2003
Distribution: RedHat 8
Posts: 59

Rep: Reputation: 15
Question routes, default gateways, ip's internet connecting - Much Stress

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:-


(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 eth0 lo eth0

I am sure something is pretty wrong here but cannot figure out what ...

netstat -nr for Brambles.

Destination Gateway Genmask Iface eth0 lo

route for Brambles

[root@brambles Max]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Iface * eth0 * 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!
Old 09-29-2003, 06:39 PM   #2
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
I have two suggestions....

enable ip_forwarding:
echo "1" > /proc/sys/net/ipv4/ip_forward

and setup iptables to forward all traffic on the eth0 to ppp, ie, the etherenet adapter to the dialup modem.... may be advised...(from my experience)... to, in addition supply plum with ur isp's dns server adresses.
Old 09-29-2003, 07:13 PM   #3
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
dont forget to masq.

Read my Sig Link, its for 'ethernet' adapters, but you can port it easily.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple default gateways jireson Linux - Networking 3 02-04-2006 02:24 AM
Choosing the default network card for connecting to the internet MaestroC Linux - Networking 4 10-22-2005 08:47 PM
how are multiple default gateways handled? eantoranz Linux - Networking 9 06-01-2005 03:09 PM
Default Routes joel112 Linux - Networking 0 12-30-2004 12:13 PM
3 network cards and 2 default gateways Oderus Linux - Networking 2 10-20-2004 04:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration