Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux (Mandrake 10) Internet Connection Sharing

Status
Not open for further replies.

Luther1978

Technical User
Nov 13, 2002
74
GB
I've recently put together a small server for use at home to share the Broadband connection in place of the existing windows XP computer that is doing the job at present.

I have 2 ethernet cards in the server (Which is running the official release of Mandrake 10.0), eth0 is a realtek 10 base ethernet card, and eth1 is a 3 Com 100 Base Card. I can set the server up to make use of the exisitng shared broadband connection over eth1. This works fine as does all the network services of the server. I can also set the server up to use the internet over eth0 connected via cat 5 to the cable modem. This works fine until eth1 comes into play. If I set eth1 to find its IP by DHCP then both ethernet cards work although the internet connection sharing doesn't. If I set eth1 to be a static IP address of 192.168.0.1 (Switching off or amending the IP of the old server using that IP) eth1 doesn't work and neither does the internet connection via eth0.

I can't see why I can't have eth1 assigned a static IP, and eth0 connected to the modem on a DHCP.

Your help is much appreciated.

Thanks in advance

Martin King (Linux Newbie)
 
Did you set up your DHCP server to point to the eth0 ip address as the default gateway?

___________________________________
[morse]--... ...--[/morse], Eric.
 
No I haven't as far as I know.
Eth1 has been set with a default gateway of 192.168.0.1

I haven't played with the DHCP Server settings at all, as I'm not aware how to do so?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top