| /l3/users/bas/2011-03/linux4.unix.bas/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:E4:56:60
inet addr:192.168.15.4 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::226:18ff:fee4:5660/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:479797 errors:0 dropped:0 overruns:0 frame:0
TX packets:233412 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:701989273 (669.4 MiB) TX bytes:16235844 (15.4 MiB)
Interrupt:66 Memory:feac0000-feb00000
lo Link encap:Local Loopback
...
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28544 (27.8 KiB) TX bytes:16809 (16.4 KiB)
vnet0 Link encap:Ethernet HWaddr FE:52:00:40:DC:3D
inet6 addr: fe80::fc52:ff:fe40:dc3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:5625 (5.4 KiB) TX bytes:5668 (5.5 KiB)
|
|
#vim /etc/xen/xend-config.sxp
--- /tmp/l3-saved-6987.10649.13906 2011-04-08 12:15:14.000000000 +0600 +++ /etc/xen/xend-config.sxp 2011-04-08 12:15:52.000000000 +0600 @@ -88,7 +88,7 @@ # two fake interfaces per guest domain. To do things like this, write # yourself a wrapper script, and call network-bridge from it, as appropriate. # -(network-script network-bridge) +(network-script network-bridge netdev=eth0 bridge=xenbr0) # The script used to control virtual interfaces. This can be overridden on a # per-vif basis when creating a domain or a configuring a new vif. The |