Skip to content

Commit 932495d

Browse files
committed
README: Correct bridge interface configuration/script references
The README was not reflecting the actual content of the scripts.
1 parent dbc970f commit 932495d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ root@ucbvax:~# halt
182182

183183
`/etc/network/interfaces`
184184
```
185-
iface br0 inet static
185+
iface virbr0 inet static
186186
bridge_ports eth0
187187
address 192.168.100.1
188188
netmask 255.255.255.0
@@ -195,7 +195,7 @@ iface br0 inet static
195195
```
196196
#!/bin/sh
197197
198-
brctl addif br0 $1
198+
brctl addif virbr0 $1
199199
ifconfig $1 up
200200
```
201201

@@ -205,7 +205,7 @@ ifconfig $1 up
205205
#!/bin/sh
206206
207207
ifconfig $1 down
208-
brctl delif br0 $1
208+
brctl delif virbr0 $1
209209
```
210210

211211
## macOS bridged networking

0 commit comments

Comments
 (0)