lime4x4
November 21st, 2008, 06:23 PM
trying to create the tap interface for virtualbox.I've followed the mega thread and it's not working here is a copy of my interfaces file and ifconfig
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
# Add a tap
auto tap0
iface tap0 inet manual
tunctl_user john
# Add a second tap
auto tap1
iface tap1 inet manual
tunctl_user john
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
br0 Link encap:Ethernet HWaddr 00:1a:92:7d:53:e7
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21a:92ff:fe7d:53e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:931 errors:0 dropped:0 overruns:0 frame:0
TX packets:693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:803995 (803.9 KB) TX bytes:127041 (127.0 KB)
eth0 Link encap:Ethernet HWaddr 00:1a:92:7d:53:e7
inet6 addr: fe80::21a:92ff:fe7d:53e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3787 errors:0 dropped:0 overruns:0 frame:0
TX packets:3036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3013647 (3.0 MB) TX bytes:485567 (485.5 KB)
Interrupt:214 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:1a:92:7d:6b:99
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:213 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11346 (11.3 KB) TX bytes:11346 (11.3 KB)
tap0 Link encap:Ethernet HWaddr 7e:a1:f7:24:c5:c5
inet6 addr: fe80::7ca1:f7ff:fe24:c5c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:21411 (21.4 KB) TX bytes:0 (0.0 B)
tap1 Link encap:Ethernet HWaddr 3a:83:77:f5:f4:9b
inet6 addr: fe80::3883:77ff:fef5:f49b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
john@john-desktop:~$
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
# Add a tap
auto tap0
iface tap0 inet manual
tunctl_user john
# Add a second tap
auto tap1
iface tap1 inet manual
tunctl_user john
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
br0 Link encap:Ethernet HWaddr 00:1a:92:7d:53:e7
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21a:92ff:fe7d:53e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:931 errors:0 dropped:0 overruns:0 frame:0
TX packets:693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:803995 (803.9 KB) TX bytes:127041 (127.0 KB)
eth0 Link encap:Ethernet HWaddr 00:1a:92:7d:53:e7
inet6 addr: fe80::21a:92ff:fe7d:53e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3787 errors:0 dropped:0 overruns:0 frame:0
TX packets:3036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3013647 (3.0 MB) TX bytes:485567 (485.5 KB)
Interrupt:214 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:1a:92:7d:6b:99
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:213 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11346 (11.3 KB) TX bytes:11346 (11.3 KB)
tap0 Link encap:Ethernet HWaddr 7e:a1:f7:24:c5:c5
inet6 addr: fe80::7ca1:f7ff:fe24:c5c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:21411 (21.4 KB) TX bytes:0 (0.0 B)
tap1 Link encap:Ethernet HWaddr 3a:83:77:f5:f4:9b
inet6 addr: fe80::3883:77ff:fef5:f49b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
john@john-desktop:~$