FreeBSD tweak
FreeBSD doesn't up the tap interface by default. Work around this by changing the default
This commit is contained in:
parent
b121950aba
commit
3a8472be2b
1 changed files with 2 additions and 4 deletions
|
@ -104,8 +104,9 @@ OpenBSD (OpenBSD 4.6)
|
||||||
|
|
||||||
# Run simulator and "attach xq tap:tun0"
|
# Run simulator and "attach xq tap:tun0"
|
||||||
|
|
||||||
FreeBSD (FreeBSD 8.0)
|
FreeBSD (FreeBSD 11.3)
|
||||||
|
|
||||||
|
/sbin/sysctl net.link.tap.up_on_open=1
|
||||||
/sbin/ifconfig tap0 create
|
/sbin/ifconfig tap0 create
|
||||||
/sbin/ifconfig tap0 up
|
/sbin/ifconfig tap0 up
|
||||||
|
|
||||||
|
@ -114,9 +115,6 @@ FreeBSD (FreeBSD 8.0)
|
||||||
/sbin/ifconfig bridge0 up
|
/sbin/ifconfig bridge0 up
|
||||||
|
|
||||||
# Run simulator and "attach xq tap:tap0"
|
# Run simulator and "attach xq tap:tap0"
|
||||||
# Note: it seems that on FreeBSD you may have to
|
|
||||||
# "/sbin/ifconfig tap0 up" and "/sbin/ifconfig bridge0 up" prior to each
|
|
||||||
# time simh "attach"es the tap:tap0 device
|
|
||||||
|
|
||||||
NetBSD (NetBSD 5.0.2)
|
NetBSD (NetBSD 5.0.2)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue