Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@nucklehead:~ # dhclient bridge1
DHCPDISCOVER on bridge1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.0.1
DHCPREQUEST on bridge1 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.14 -- renewal in 43200 seconds.
root@nucklehead:~ # route change -net 10.0.0.0/8 192.168.0.14
change net 10.0.0.0: gateway 192.168.0.14
root@nucklehead:~ # netstat -r4
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default Broadcom UGS em0
10.0.0.0/8 nucklehead UGS em0
localhost link#2 UH lo0
192.168.0.0/24 link#1 U em0
nucklehead link#1 UHS lo0
nucklehead link#3 UHS lo0
root@nucklehead:~ # ssh debian@10.0.0.1
ssh: connect to host 10.0.0.1 port 22: No route to host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.