Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

trouble with routing on dom0



I have a domU with 2 interfaces, rtk0, and nfe0. nfe0 is on it's own
network. I'd like my dom0 attached to bridge1 to have traffic routed
through to rtk0. Here's my first step in this attempt, using this as a
guide

http://www.netbsd.org/docs/network/index.html#nonsubnetgateway

this is what I do, and what happens
#/sbin/route add -host 192.168.1.100 -link nfe0 -iface
route: writing to routing socket: File exists
add host 192.168.1.100: gateway nfe0: File exists

The second line in the routing table is wierd, I don't know how it got there.

Also, here is the output of ifconfig -a

rtk0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
        address: 00:00:e8:93:9f:cd
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::200:e8ff:fe93:9fcd%rtk0 prefixlen 64 scopeid 0x1
nfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:1e:8c:a4:1b:fd
        media: Ethernet autoselect (none)
        status: no carrier
        inet 10.0.0.1 netmask 0xfffffff5 broadcast 10.0.0.11
        inet6 fe80::21e:8cff:fea4:1bfd%nfe0 prefixlen 64 scopeid 0x2
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33648
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
bridge0: flags=41<UP,RUNNING> mtu 1500
bridge1: flags=41<UP,RUNNING> mtu 1500

Routing table

Internet:
Destination        Gateway            Flags
default            192.168.1.1        UG
10.0.0.1&255.255.2 link#2             U
loopback           127.0.0.1          UGR
localhost          127.0.0.1          UH
192.168.1.0/24     link#1             U
192.168.1.1        00:13:10:fc:be:6c  UHL
192.168.1.100      127.0.0.1          UGH


Am I using the right documentation to do this? How may I troubleshoot?


Thanks.


Home | Main Index | Thread Index | Old Index