iankelling.org
/
git
/
newns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20d752d
)
fix regression
master
author
Ian Kelling
<iank@fsf.org>
Tue, 16 Apr 2024 05:52:26 +0000
(
01:52
-0400)
committer
Ian Kelling
<iank@fsf.org>
Tue, 16 Apr 2024 05:52:26 +0000
(
01:52
-0400)
newns
patch
|
blob
|
history
diff --git
a/newns
b/newns
index e8c3ca79a24d4a8970d6cc49cc429f92c241183d..9a7a6ff10fff25a11056d681fb4ad70826b77b2e 100755
(executable)
--- a/
newns
+++ b/
newns
@@
-295,7
+295,7
@@
start() {
ip-add ipd $network.1/24 $v0
ipd link set $v0 up
nat -C &>/dev/null || nat -A
ip-add ipd $network.1/24 $v0
ipd link set $v0 up
nat -C &>/dev/null || nat -A
- ip-add ipnn $network.
1/24 $v0
+ ip-add ipnn $network.
2/24 $v1
ipnn link set $v1 up
cmd="ipnn route add default via $network.1"
$cmd
ipnn link set $v1 up
cmd="ipnn route add default via $network.1"
$cmd