Skip to contentSkip to conversation

Vif only accepts connex after talking out of domain.

DISCUSSION Phil Carinhas 1 participant 1 message Nov 12, 2004

lore
Share & tools
lore
#0 lore raw

My domains dont see any traffic until you try to connect out
from within the domain. Tried this several times and it was consistent. I have no firewall either. running each domain on different cpu probably doesn't help, although Im no network expert.

Here is some info.
================
[root@a root]# xm info
system : Linux
host : a.b.com
release : 2.4.27-xen0
version : #9 Thu Nov 11 18:13:10 CST 2004
machine : i686
cores : 2
hyperthreads_per_core : 2
cpu_mhz : 2800
memory : 2047
free_memory : 1000
[root@a root]# xm info help
system : Linux
host : a.b.com
release : 2.4.27-xen0
version : #9 Thu Nov 11 18:13:10 CST 2004
machine : i686
cores : 2
hyperthreads_per_core : 2
cpu_mhz : 2800
memory : 2047
free_memory : 1000
[root@a root]# xm list

Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----     12.8        
home               1      255    1  -b---      0.7    9601
shared             2      511    2  -b---      0.7    9602

Ifconfig:
===========
eth0 Link encap:Ethernet HWaddr 00:30:48:2B:98:96
inet addr:207.200.44.18 Bcast:207.200.44.31 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1326 errors:0 dropped:0 overruns:0 frame:0 TX packets:274 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:112060 (109.4 Kb) TX bytes:58178 (56.8 Kb) Base address:0x2000 Memory:da300000-da320000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:347 errors:0 dropped:0 overruns:0 frame:0 TX packets:347 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:39871 (38.9 Kb) TX bytes:39871 (38.9 Kb)

vif1.0 Link encap:Ethernet HWaddr AA:00:01:26:13:36
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:936 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:68283 (66.6 Kb)

vif2.0 Link encap:Ethernet HWaddr AA:00:01:6B:D0:B1
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:936 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:68283 (66.6 Kb)

vif3.0 Link encap:Ethernet HWaddr AA:00:01:25:19:16
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:945 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:868 (868.0 b) TX bytes:69109 (67.4 Kb)

xen-br0 Link encap:Ethernet HWaddr 00:30:48:2B:98:96
inet addr:207.200.44.18 Bcast:207.200.44.31 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1265 errors:0 dropped:0 overruns:0 frame:0 TX packets:278 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:80268 (78.3 Kb) TX bytes:58818 (57.4 Kb)

=================
root]# ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:30:48:2b:98:96 brd ff:ff:ff:ff:ff:ff
    inet 207.200.44.18/28 brd 207.200.44.31 scope global eth0
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:30:48:2b:98:97 brd ff:ff:ff:ff:ff:ff
4: xen-br0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 
    link/ether 00:30:48:2b:98:96 brd ff:ff:ff:ff:ff:ff
    inet 207.200.44.18/32 brd 207.200.44.31 scope global xen-br0
5: vif1.0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc noqueue 
    link/ether aa:00:01:26:13:36 brd ff:ff:ff:ff:ff:ff
6: vif2.0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc noqueue 
    link/ether aa:00:01:6b:d0:b1 brd ff:ff:ff:ff:ff:ff
7: vif3.0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc noqueue 
    link/ether aa:00:01:25:19:16 brd ff:ff:ff:ff:ff:ff

==============================================
root]# ip route show
207.200.44.16/28 dev xen-br0 scope link
169.254.0.0/16 dev xen-br0 scope link
127.0.0.0/8 dev lo scope link
default via 207.200.44.17 dev xen-br0

-Phil Carinhas
--
.--------------------------------------------------------.

 | Dr. Philip A. Carinhas       | pac(at)fortuitous.com   |
 | Fortuitous Technologies Inc. | http://fortuitous.com   |
 | Linux Networking & Security  | Tel : 1-512-351-7783    |

`--------------------------------------------------------'

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click