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

Notices


Reply
  Search this Thread
Old 07-27-2006, 11:18 AM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Multiple, simultaneous network interfaces


I'm running Mandriva2006, and I was trying to set up a Samba server on eth0 so as a laptop running WindowsXP could use the CUPS printing service on my machine. I also set up a ppp0 connection to my ISP - for obvious reasons.

However, at startup, only the most recently created interface would work. So, suppose I created the eth0 interface, then the ppp0 interface. At boot, both eth0 and ppp0 start up alright, but if I use NetApplet to stop the ppp0 connection and start the eth0 connection, nothing happens. ppp0 dies, but eth0 just sits there, dead. So, if I want eth0 to work, I have to remove the current interface, and create a new one. And only then will it work.

What's more, neither interface will work at the same time as each other. My dad says that there shouldn't be any issue with multiple network interfaces running simultaneously.

I thought that perhaps an update would fix the problem (as Mandriva2006.0 shipped with a lot of developmental apps), but it didn't.

EDIT: When a network interface IS working, it's working flawlessly - what I want is to have BOTH networking interfaces running at the same time, so I can use the internet, and allow anyone on the laptop to print something, without having to destroy and re-build network interfaces.
 
Old 07-30-2006, 11:28 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Try starting ppp0 first then eth0 but instead of using the netapplet to start eth0 try the via console command i.e.:
ifconfig 192.168.0.1 netmask 255.255.255.0 up (for example)
 
Old 07-30-2006, 08:53 PM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Alright, thanks for the reply, michaelk.

Question, though, why start ppp0 before eth0?
 
Old 07-30-2006, 09:18 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I'm not a networking expert and never really looked into how rp-ppoe works but it won't establish a connection if eth0 is already up.
 
Old 07-31-2006, 10:33 AM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Really...that's interesting. As I'm watching my computer boot up, I noticed that my networking protocols are started up in this order: eth0, sit0 (I have NO idea what this one's for, but it's created automatically), and last but not least, ppp0.

*shrug*

Thanks for all your help michaelk.
 
  


Reply



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 simultaneous logins phonecian Linux - Newbie 6 06-05-2005 09:40 AM
multiple network interfaces -> getting card vendor for eth0... linen0ise Slackware 9 12-07-2003 08:16 PM
Multiple simultaneous VPN connections? chamitha Linux - Networking 3 08-29-2002 12:28 AM
Multiple simultaneous VPN connections? chamitha Linux - Newbie 1 08-28-2002 04:12 AM
Multiple simultaneous VPN connections? chamitha Linux - General 1 08-28-2002 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:56 AM.

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