Skip to content

Commit

Permalink
post, dynamic IPv6: Fix command and give a better static example
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Haas <[email protected]>
  • Loading branch information
EdDev committed Jun 1, 2020
1 parent 4e87791 commit e399533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _posts/2020-05-03-dynamic-ipv6-playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ addresses per specific identifiers (e.g. the interface mac address).
This is useful for controlling the exact IPv6 address a requesting interface.
With dnsmasq this translates to the following lines:
```
dhcp-host=12:34:56:78:90:ab,[fd00::22]
dhcp-range=::,static
dhcp-host=12:34:56:78:90:ab,[::22]
dhcp-range=::10,::ffff,static
```

### Run Server
Expand All @@ -90,7 +90,7 @@ dnsmasq requires the interface it runs on to have an IPv6 address in the same
network subnet of the address offer.
Therefore, a global IPv6 address needs to be defined:
```
sudo ip netns exec red ip addr add fd::1/64 dev veth00
sudo ip netns exec blue ip addr add fd::1/64 dev veth00
```
Lets examine the result:
```
Expand Down

0 comments on commit e399533

Please sign in to comment.