I disabled network-bridge in /etc/xen/xend-config.sxp file and rebooted the system. Then I did below steps. After starting xen I manually started network-bridge. But the network connection could not be established.
Am I doing something wrong here? Are there any other path that needs to be set ??
Please let me know.
[root@kishore xen]# /etc/init.d/xend start
mount: xenfs already mounted or /proc/xen busy
mount: according to mtab, none is already mounted on /proc/xen
[root@kishore xen]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1020 12 r----- 91.9
[root@kishore xen]# brctl show
bridge name bridge id STP enabled interfaces
[root@kishore xen]# cd /etc/xen/scripts/
[root@kishore scripts]# ls
blktap block-nbd network-bridge vif-common.sh vtpm vtpm-impl xen-network-common.sh
block external-device-migrate network-nat vif-nat vtpm-common.sh vtpm-migration.sh xen-script-common.sh
block-common.sh locking.sh network-route vif-route vtpm-delete xen-hotplug-cleanup
block-enbd logging.sh vif-bridge vscsi vtpm-hotplug-common.sh xen-hotplug-common.sh
[root@kishore scripts]# ./network-bridge start
Nothing to flush.
Waiting for peth0 to negotiate link...........(link isnt in running state)
Determining IP information for eth0...PING 192.168.1.1 (192.168.1.1) from 192.168.1.14 eth0: 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
PING 192.168.1.1 (192.168.1.1) from 192.168.1.13 eth0: 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
failed.
Nothing to flush.
[root@kishore scripts]#
[root@kishore scripts]#
[root@kishore scripts]# ./network-bridge status
============================================================
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:13:20:f7:83:d4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.14/24 scope global eth0
inet6 fe80::213:20ff:fef7:83d4/64 scope link
valid_lft forever preferred_lft forever
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:13:20:f7:83:d4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.14/24 scope global eth0
inet6 fe80::213:20ff:fef7:83d4/64 scope link
valid_lft forever preferred_lft forever
bridge name bridge id STP enabled interfaces
eth0 8000.001320f783d4 no peth0
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.14
default via 192.168.1.1 dev eth0 proto static
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
============================================================
[root@kishore scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:20:F7:83:D4
inet addr:192.168.1.14 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::213:20ff:fef7:83d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:26953 (26.3 KiB)
eth1 Link encap:Ethernet HWaddr 00:13:20:F7:83:D5
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:b1900000-b1920000
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:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8604 (8.4 KiB) TX bytes:8604 (8.4 KiB)
peth0 Link encap:Ethernet HWaddr 00:13:20:F7:83:D4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8413 (8.2 KiB) TX bytes:16922 (16.5 KiB)
Memory:b1920000-b1940000
[root@kishore scripts]# ping www.google.com
ping: unknown host www.google.com
[root@kishore scripts]#