Subject: Questions about networking
To: None <port-xen@netbsd.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: port-xen
Date: 03/15/2005 23:14:11
Hi, I have a domU running perfectly now, but the network still does not
work, so I have a few questions:

o Does the dom0 kernel needs ipfilter/pf and bridge for this? (something more?)

I'm using this line in the nbsd file to create domUs:

vif = [ 'mac=aa:00:00:50:02:f0, bridge=10.0.0.254 netmask 255.255.255.0' ]

and my dom0 now has created the interface:

xvif9.0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: aa:00:00:51:02:f0
        inet 10.0.0.254 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::a800:ff:fe51:2f0%xvif9.0 prefixlen 64 scopeid 0x4

I'm using DHCP in dom0, my gateway is 192.168.1.1, DNS is assigned via DHCP, so my next
question is: what values do I have to use in domU to have the network working?
(I want to mount some NFS shares).

Thanks.