Thank you You are right Irshad
> On 8 May 2021, at 11:55 AM, Stuart Henderson <[email protected]> wrote: > > On 2021-05-07, Irshad Sulaiman <[email protected]> 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. > >

