| Linode Forum https://forum.linode.com/ |
|
| Dummy IP Interface https://forum.linode.com/viewtopic.php?f=19&t=764 |
Page 1 of 1 |
| Author: | dbuckley [ Tue Mar 23, 2004 6:23 pm ] |
| Post subject: | Dummy IP Interface |
I'm need to set up a dummy IP interface on a Debian LiNode, and am failing at step one. I think I know what to do once I get past step one, but till I solve this, I'm stuck. When I do: # ifconfig dummy dummy: error fetching interface information: Device not found Same with dummy0 I think I need to do an insmod dummy, but when I try: # insmod dummy insmod: dummy: no module by that name found And then I'm at the end of my linux knowledge. There doesnt appear to be a file like *dummy* in the filesystem. Where / how do I get this driver thing, and where do I put it? Is there a more permanent way of telling the kernel to load the driver on boot, or do I just stick the insmod command in the network startup? Thanks. |
|
| Author: | caker [ Tue Mar 23, 2004 7:01 pm ] |
| Post subject: | |
You could use tuntap, which is compiled into the UML kernels: Code: # install uml-utilities, which has the "tunctl" admin app: Example usage: Code: li-20:~# tunctl --help -Chris |
|
| Author: | dbuckley [ Tue Mar 23, 2004 7:13 pm ] |
| Post subject: | |
Giving it a go now. How much of this stuff is persistent? (this does look like strange voodoo...) |
|
| Author: | caker [ Tue Mar 23, 2004 8:33 pm ] |
| Post subject: | |
dbuckley wrote: How much of this stuff is persistent?
You will want to edit your init scripts to create and ifconfig the tap device on startup. The other stuff is run-once... -Chris |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|