Skip to content

Instantly share code, notes, and snippets.

@gautamMalu
Created May 26, 2015 13:13
Show Gist options
  • Save gautamMalu/3d21211bf70d622db4c5 to your computer and use it in GitHub Desktop.
Save gautamMalu/3d21211bf70d622db4c5 to your computer and use it in GitHub Desktop.
networking setting
[root@localhost scripts]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::216:3eff:fe66:cd8f prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:66:cd:8f txqueuelen 1000 (Ethernet)
RX packets 9247 bytes 1009003 (985.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3675 bytes 2544527 (2.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 16 bytes 1600 (1.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1600 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:6b:f8:80 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@localhost scripts]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.5254006bf880 yes virbr0-nic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment