Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
[root@xen ~]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.000000000000 no
xenbr0 8000.feffffffffff no peth0
vif0.0
xenbr1 8000.feffffffffff no peth1
vif0.1
## bridge script
[root@xen ~]# /etc/xen/scripts/my-script
Unknown command:
Valid commands are: start, stop, status
Unknown command:
Valid commands are: start, stop, status
[root@xen ~]# /etc/xen/scripts/my-script status
============================================================
7: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:02:b3:97:bb:4f brd ff:ff:ff:ff:ff:ff
inet 121.xxx.218.xxx/24 brd 121.xxx.218.255 scope global eth0
inet6 fe80::202:b3ff:fe97:bb4f/64 scope link
valid_lft forever preferred_lft forever
14: xenbr0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::200:ff:fe00:0/64 scope link
valid_lft forever preferred_lft forever
bridge name bridge id STP enabled interfaces
virbr0 8000.000000000000 no
xenbr0 8000.feffffffffff no peth0
vif0.0
xenbr1 8000.feffffffffff no peth1
vif0.1
192.168.100.0/24 dev eth1 proto kernel scope link src 192.168.100.1
121.xxx.218.0/24 dev eth0 proto kernel scope link src 121.xxx.218.xxx
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
169.254.0.0/16 dev eth1 scope link
default via 121.xxx.218.xxx dev eth0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
121.xxx.218.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 121.xxx.218.xxx 0.0.0.0 UG 0 0 0 eth0
============================================================
============================================================
9: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:07:e9:39:2c:6f brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 brd 192.168.100.255 scope global eth1
inet6 fe80::207:e9ff:fe39:2c6f/64 scope link
valid_lft forever preferred_lft forever
15: xenbr1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::200:ff:fe00:0/64 scope link
valid_lft forever preferred_lft forever
bridge name bridge id STP enabled interfaces
virbr0 8000.000000000000 no
xenbr0 8000.feffffffffff no peth0
vif0.0
xenbr1 8000.feffffffffff no peth1
vif0.1
192.168.100.0/24 dev eth1 proto kernel scope link src 192.168.100.1
121.xxx.218.0/24 dev eth0 proto kernel scope link src 121.xxx.218.xxx
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
169.254.0.0/16 dev eth1 scope link
default via 121.xxx.218.xxx dev eth0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
121.xxx.218.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 121.xxx.218.xxx 0.0.0.0 UG 0 0 0 eth0
============================================================
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.