I have a network using crossbow like this:

-bash-4.0$ dladm show-link
LINK        CLASS     MTU    STATE    BRIDGE     OVER
nge0        phys      1500   up       --         --
nge1        phys      1500   down     --         --
vtfswitch0  etherstub 1500   unknown  --         --
vtfrouter2  vnic      1500   up       --         vtfswitch0
vtfvnic3    vnic      1500   up       --         vtfswitch0

vtfvnic3 (192.168.0.3) is used by a VirtualBox instance,
and vtfrouter2 (192.168.0.2) is used as the router back
to the host physical network. Here's more on the nics:

-bash-4.0$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
         inet 127.0.0.1 netmask ff000000
nge0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2
         inet 10.10.46.128 netmask ffffff00 broadcast 10.10.46.255
nge1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
         inet 0.0.0.0 netmask 0
vtfrouter2: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 
index 7
         inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
         inet6 ::1/128
nge0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
         inet6 fe80::214:4fff:fe9a:9b82/10
nge0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index 2
         inet6 2002:a0a:2ea5:1:214:4fff:fe9a:9b82/64

The problem I'm seeing is other systems on the 10.10.46.0 network
are using 10.10.46.128 as their router.

Is there a way to limit routing to just the internal virtual network?

If I use this command "# ifconfig nge0 -router" to disable the
physical network the virtual router is also disabled.

Cheers,
Jim

Reply via email to