On 2016/06/08 11:48, Gerhard Roth wrote: > > Currently I do this to get the interface up and running as my default > route: > > # ifconfig umb0 pin xxxx apn xxxx > # ifconfig umb0 inet 0.0.0.1 0.0.0.2 > # route delete default > # route add -ifp umb0 default 0.0.0.2 > # ifconfig umb0 up > > Yes it seem strange that the 'route add -ifp ubm0' needs an IP address, > but that's the way it is. That's why I need the fake IP address on > the interface right from the beginning. Otherwise the 'route add' > would fail.
Ah yes this is a known strangeness - the address in the "route add" can be anything at all though, it doesn't need to be configured on the interface.