Mailinglist Archive: opensuse (1914 mails)

< Previous Next >
Re: [opensuse] preferred way to add a static route in OpenSuse?
  • From: "Amedee Van Gasse" <amedee@xxxxxxxxx>
  • Date: Wed, 12 Nov 2008 10:54:13 +0100 (CET)
  • Message-id: <35459.193.121.250.194.1226483653.squirrel@xxxxxxxxxxxxxxxx>
On Wed, November 12, 2008 09:07, Mads Martin Joergensen wrote:
* Amedee Van Gasse <amedee@xxxxxxxxx> [Nov 11. 2008 17:44]:
I have added a static route that sends all traffic for a certain net
block over the wlan interface.

route add -net xxx.xxx.xxx.0 netmask 255.255.255.0 gw 192.168.1.1 dev
wlan0

[snip]

May I recommend 'ip' from the iproute2 package? route and ifconfig have
been deprecated since kernel 2.2 by the superiour 'ip' command.

Yes of course you may recommend that.
It's just that most pages on the web still refer to route and ifconfig.
But with my Cisco experience, it feels more comfortable to use ip. I
wasn't fully aware it even existed, and I certainly didn't know that
route&ifconfig are deprecated.

--
Amedee

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >