Code: Select all
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
#config_eth0="10.1.0.99/24"
#config_eth0="dhcp"
#dhcpcd_eth0="-O ntp_servers"
bridge_br0="eth0 tap0 tap1"
brctl_br0="setfd 0 sethello 0 stp off"
rc_need_br0="net.tap0 net.tap1"
config_br0="10.1.0.99/24"
routes_br0="default via 10.1.0.1"
dns_domain_br0="example.com"
dns_servers_br0="10.1.0.1"
dns_search_br0="example.com"
config_tap0="null"
tuntap_tap0="tap"
tunctl_tap0="-u me"
mac_tap0="00:00:00:00:01:00"
config_tap1="null"
tuntap_tap1="tap"
tunctl_tap1="-u me"
mac_tap1="00:00:00:00:01:01"
config_eth0="null"
but i end up w/ this ifconfig
Code: Select all
br0 Link encap:Ethernet HWaddr 00:00:00:00:01:00
inet addr:10.1.0.99 Bcast:10.1.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:100/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:487584 errors:0 dropped:463 overruns:0 frame:0
TX packets:442556 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:188960068 (180.2 MiB) TX bytes:420948649 (401.4 MiB)
eth0 Link encap:Ethernet HWaddr bc:5f:f4:3b:97:f3
inet6 addr: fe80::be5f:f4ff:fe3b:97f3/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:39990746 errors:0 dropped:0 overruns:0 frame:0
TX packets:16723989 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:56738232789 (52.8 GiB) TX bytes:3455104579 (3.2 GiB)
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:4364375 errors:0 dropped:0 overruns:0 frame:0
TX packets:4364375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1223399867 (1.1 GiB) TX bytes:1223399867 (1.1 GiB)
tap0 Link encap:Ethernet HWaddr 00:00:00:00:01:00
inet6 addr: fe80::200:ff:fe00:100/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:21603 errors:0 dropped:0 overruns:0 frame:0
TX packets:12398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:9463952 (9.0 MiB) TX bytes:12534014 (11.9 MiB)
tap1 Link encap:Ethernet HWaddr 96:3b:32:d0:e1:9d
inet6 addr: fe80::943b:32ff:fed0:e19d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:297612 errors:0 dropped:0 overruns:0 frame:0
TX packets:308407 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:13713605 (13.0 MiB) TX bytes:434156747 (414.0 MiB)
the 2 extra taps work though....


