powershell powershell - 4 months ago 43
Linux Question

Unable to add default root no such device error in linux

I try have access internet so i should add default route to my linux server my ip address is but my default gateway is

I tried to add default gateway with

route add default
but get
error :

siocaddrt: no such device

I tried to use virtual nic like
to add ip address in range my default gateway where linux permit me to add default gateway but again I get error as same last error.


I find solution first i add route to another subnet

route add e.f.g.h/32 dev eth0:1

second i add:

route add default gw e.f.g.h

and my problem solved, i hope no one stick in this error .