Created
September 15, 2018 20:36
-
-
Save danmcd/1b627f45dd6f6d694f1e9700a633b24a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@00-0c-29-77-9d-fe ~]# ifconfig -a | |
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 | |
inet 127.0.0.1 netmask ff000000 | |
e1000g0: flags=1001000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 2 | |
inet 172.24.4.3 netmask ffffff00 broadcast 172.24.4.255 | |
ether 0:c:29:77:9d:fe | |
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 | |
inet6 ::1/128 | |
[root@00-0c-29-77-9d-fe ~]# ifconfig e1000g0 addif 192.168.1.5/24 up | |
Created new logical interface e1000g0:1 | |
[root@00-0c-29-77-9d-fe ~]# ifconfig -a | |
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 | |
inet 127.0.0.1 netmask ff000000 | |
e1000g0: flags=1001000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 2 | |
inet 172.24.4.3 netmask ffffff00 broadcast 172.24.4.255 | |
ether 0:c:29:77:9d:fe | |
e1000g0:1: flags=1001000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 2 | |
inet 192.168.1.5 netmask ffffff00 broadcast 192.168.1.255 | |
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 | |
inet6 ::1/128 | |
[root@00-0c-29-77-9d-fe ~]# !/var | |
/var/tmp/mike/vxlnatd | |
^Z | |
[1]+ Stopped /var/tmp/mike/vxlnatd | |
[root@00-0c-29-77-9d-fe ~]# bg | |
[1]+ /var/tmp/mike/vxlnatd & | |
[root@00-0c-29-77-9d-fe ~]# netstat -an | grep 4789 | |
192.168.1.5.4789 Idle | |
[root@00-0c-29-77-9d-fe ~]# kill % | |
[root@00-0c-29-77-9d-fe ~]# | |
[1]+ Terminated /var/tmp/mike/vxlnatd | |
[root@00-0c-29-77-9d-fe ~]# netstat -an | grep 4789 | |
[root@00-0c-29-77-9d-fe ~]# ifconfig e1000g0:1 unplumb | |
[root@00-0c-29-77-9d-fe ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment