Skip to content

Instantly share code, notes, and snippets.

@bruceadams
Created July 10, 2014 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bruceadams/68344d0f099e76a5cb8e to your computer and use it in GitHub Desktop.
Save bruceadams/68344d0f099e76a5cb8e to your computer and use it in GitHub Desktop.
`ifconfig` inside an lxc container
$ ssh root@10.0.3.235 ifconfig
root@10.0.3.235's password:
eth0 Link encap:Ethernet HWaddr 00:16:3e:63:2f:8b
inet addr:10.0.3.235 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe63:2f8b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32481 (31.7 KiB) TX bytes:18056 (17.6 KiB)
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:65536 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