LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network interface (http://www.linuxquestions.org/questions/linux-networking-3/network-interface-317290/)

phopkins 04-26-2005 09:15 AM

Network interface
 
I am using Mandrake 10.1 and find that I can only run one network interface at a time. If I have "eth0" on then "ppp0" won't work and vice versa. Is this the way Linux works or am I doing something wrong? This is my first attempt at using Linux.
I use dial-up access to the Internet and my home network is made up of windows XP and 2000 machines. DHCP is provided by a D-Link router.
Thanks

pingu 04-27-2005 02:25 AM

I had this problem too, it's specific to Mandrake not Linux.
Starting with Mandrake 10.0, the default route isn't set up properly.
What I did was add ppp0 as default route in a startup-script:
In /etc/rc.d/rc.local I added the lines
route del default eth0
route add default ppp0

This works fine if you have only one internal network, if by any chance eth0 is gateway to more networks you might have to add them manually to routingtable.
Maybe you don't quite understand what I'm talking about, if my first suggestion doesn't work just return here!

phopkins 04-27-2005 09:55 AM

Thank's pingu
Your info fixed the problem now I can have both interfaces active at the same time. I have some other difficulty's and if I don't figure them out I'll be back. I'm new to Linux and really appreciate your help. Could you recommend a book that will help me learn linux? I've worked with DOS and Windows for many years but I find Linux to be a real challenge.
Thanks again


All times are GMT -5. The time now is 06:34 PM.