View previous topic :: View next topic |
Author |
Message |
STreen n00b
Joined: 06 Jun 2006 Posts: 70
|
Posted: Thu Dec 15, 2011 12:28 pm Post subject: get eth interface to be always in RUNNING status |
|
|
Hi,
one of my eth interfaces is set up correctly and has status UP.
But only with a cable plugged in and a live machine on the other end it gets the status RUNNING as well.
Is there a way to set the status to RUNNING without plugging anything into that interface ?
Maybe disabling hotplugging for the device or something so that it is always treated as running ?
Thanks, S. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Dec 15, 2011 3:54 pm Post subject: |
|
|
use a ethernet loopback jack?
OTOH, I am curious to the answer to audiodefs questions...
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
STreen n00b
Joined: 06 Jun 2006 Posts: 70
|
Posted: Thu Dec 15, 2011 5:04 pm Post subject: |
|
|
To be able to connect a virtual machine to this interface without plugging a live physical machine into it as well. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
STreen n00b
Joined: 06 Jun 2006 Posts: 70
|
Posted: Thu Dec 15, 2011 5:54 pm Post subject: |
|
|
It's VirtualBox I'm using and there I want to use the option for a bridged network adapter. I thought this was emulating a physical cable being plugged into the corresponding host interface but it doesn't as it doesn't effect the interface's running status. Someone over at #vbox told me that virtualbox cannot change this OS behaviour. Before I heard that, my gut feeling had been that it could do just that.
But anyways, I was looking for an easy way around this, where I can physically plug in my 2nd physical machine into the same host interface that the VM connects to as well. And if I don't need my 2nd computer to talk to the VM I can just leave it off and still have the VM talk to its host. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23100
|
Posted: Fri Dec 16, 2011 11:05 pm Post subject: |
|
|
Create a bridge device. Add your Ethernet port to the bridge. Add your VirtualBox port to the bridge. Leave your Ethernet port otherwise unconfigured. Configure the IP address and routing on the bridge device. |
|
Back to top |
|
|
|