Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # brctl show
- bridge name bridge id STP enabled interfaces
- xenbr0 8000.003005fa7673 no peth0
- vif1.0
- vif3.0
- vif3.1
- xenbr1 8000.003005fa7674 no peth1
- # cat /etc/xen/scripts/dual-ethernet-bridge
- #!/bin/sh
- # Exit if anything goes wrong.
- set -e
- # First arg is the operation.
- OP=$1
- shift
- script=/etc/xen/scripts/network-bridge
- case ${OP} in
- start)
- $script start vifnum=0 bridge=xenbr0 netdev=eth0
- $script start vifnum=1 bridge=xenbr1 netdev=eth1
- ;;
- stop)
- $script stop vifnum=0 bridge=xenbr0 netdev=eth0
- $script stop vifnum=1 bridge=xenbr1 netdev=eth1
- ;;
- status)
- $script status vifnum=0 bridge=xenbr0 netdev=eth0
- $script status vifnum=1 bridge=xenbr1 netdev=eth1
- $script status vifnum=2 bridge=xenbri netdev=dummy0
- ;;
- *)
- echo 'Unknown command: ' ${OP}
- echo 'Valid commands are: start, stop, status'
- exit 1
- esac
- # egrep network-script /etc/xen/xend-config.sxp
- (network-script dual-ethernet-bridge)
- # ethtool peth1
- Settings for peth1:
- Supported ports: [ TP ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Supports auto-negotiation: Yes
- Advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Advertised pause frame use: No
- Advertised auto-negotiation: Yes
- Speed: 100Mb/s
- Duplex: Full
- Port: Twisted Pair
- PHYAD: 1
- Transceiver: internal
- Auto-negotiation: on
- MDI-X: Unknown
- Supports Wake-on: g
- Wake-on: g
- Current message level: 0x000000ff (255)
- Link detected: yes
- # dmesg |grep eth
- [ 0.746000] eth0: Tigon3 [partno(BCM95715) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:30:05:fa:76:73
- [ 0.746008] eth0: attached PHY is 5714 (10/100/1000Base-T Ethernet) (WireSpeed[1])
- [ 0.746013] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
- [ 0.746017] eth0: dma_rwctrl[76148000] dma_mask[40-bit]
- [ 0.770477] eth1: Tigon3 [partno(BCM95715) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:30:05:fa:76:74
- [ 0.770483] eth1: attached PHY is 5714 (10/100/1000Base-T Ethernet) (WireSpeed[1])
- [ 0.770488] eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
- [ 0.770493] eth1: dma_rwctrl[76148000] dma_mask[40-bit]
- [ 5.735055] ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 8.453153] tg3: eth0: Link is up at 1000 Mbps, full duplex.
- [ 8.453159] tg3: eth0: Flow control is off for TX and off for RX.
- [ 8.454621] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 19.252012] eth0: no IPv6 routers present
- [ 104.549470] ADDRCONF(NETDEV_UP): peth0: link is not ready
- [ 107.112101] tg3: peth0: Link is up at 1000 Mbps, full duplex.
- [ 107.112107] tg3: peth0: Flow control is off for TX and off for RX.
- [ 107.113527] ADDRCONF(NETDEV_CHANGE): peth0: link becomes ready
- [ 107.587143] device peth0 entered promiscuous mode
- [ 107.601094] xenbr0: port 1(peth0) entering forwarding state
- [ 107.770479] ADDRCONF(NETDEV_UP): peth1: link is not ready
- [ 107.781487] device peth1 entered promiscuous mode
- [ 109.323259] tg3: peth1: Link is up at 100 Mbps, full duplex.
- [ 109.323265] tg3: peth1: Flow control is off for TX and off for RX.
- [ 109.325031] ADDRCONF(NETDEV_CHANGE): peth1: link becomes ready
- [ 109.325102] xenbr1: port 1(peth1) entering forwarding state
- [ 117.476018] peth0: no IPv6 routers present
- [ 119.928012] peth1: no IPv6 routers present
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement