Skip to content

Instantly share code, notes, and snippets.

@terriyu
Created August 9, 2013 23:26
Show Gist options
  • Select an option

  • Save terriyu/6198158 to your computer and use it in GitHub Desktop.

Select an option

Save terriyu/6198158 to your computer and use it in GitHub Desktop.
Checking the networking configuration inside my Vagrant VM running Ubuntu 12.04
$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:88:0c:a6
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe88:ca6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:143744 errors:0 dropped:0 overruns:0 frame:0
TX packets:110109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95178928 (95.1 MB) TX bytes:15596188 (15.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8202495 errors:0 dropped:0 overruns:0 frame:0
TX packets:8202495 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2499080359 (2.4 GB) TX bytes:2499080359 (2.4 GB)
virbr0 Link encap:Ethernet HWaddr 6e:b4:51:c4:17:4a
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment