On 2021-05-07, Irshad Sulaiman <onlineirsh...@icloud.com> wrote:
> 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)

Sounds like you want to request an address by DHCP, but ignore the gateway
handed out by the DHCP server; "ignore routers;" in dhclient.conf should
do the trick.


Reply via email to