Hi 
    How to set only one default gateway if I have multiple interface , one is 
in DHCP and other in Static ip 
I have set /etc/mygate 192.168.100.1 and hostname.em0 (DHCP) and hostname.iwn0 
(static 192.168.100.163 255.255.255.0)

But when I sh /etc/netstart it sets multiple gateway with following 
Internet:

Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.1.1        UGS        0       37     -     8 em0
default            192.168.100.1      UGS        0        0     -    12 iwn0

Only iwn0 have internet and I cannot connect to internet 

How to set hostname.iwn0 as default gateway 
 
With multiple default gateway I cannot ping outside 


Appreciate 
 

Reply via email to