Skip to content

Commit 25addd5

Browse files
authored
Merge pull request #313 from ptqa/master
docs(src/quickstart/provider/vagrant/dns.md): fix route command for linux
2 parents dc5ee1a + f2b6bed commit 25addd5

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

  • src/quickstart/provider/vagrant

src/quickstart/provider/vagrant/dns.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@ IP: 10.247.114.249
2727

2828
The service address for the router is `10.247.114.249`.
2929

30-
Last, we need to inform your machine how to reach the service address:
30+
Last, we need to inform your machine how to reach the service address.
3131

32+
Add routes on Linux with:
33+
```
34+
$ sudo route add 10.247.114.249 gw 10.245.1.3
35+
```
36+
37+
Add routes on Mac OS X with:
3238
```
3339
$ sudo route add 10.247.114.249 10.245.1.3
3440
Password:
@@ -40,6 +46,13 @@ node found at `10.245.1.3`.
4046

4147
**Remember when you are finished experimenting, you should remove the route so you aren't confused later:**
4248

49+
Remove routes on Linux with:
50+
```
51+
$ sudo route del 10.247.114.249
52+
```
53+
54+
Remove routes on Mac OS X with:
55+
4356
```
4457
$ sudo route delete 10.247.114.249 10.245.1.3
4558
delete host 10.247.114.249: gateway 10.245.1.3

0 commit comments

Comments
 (0)