On Saturday 15 October 2005 18:48, Joshua Schmidlkofer wrote:
> iproute2 is newer and while it takes over all of the abilities of ifconfig,
> it is modularized and designed for controlling advanced router features as
> well as basic interface related stuff.
>
> The capabilities of it are vastly superior to ifconfig, and sometimes the
> notation is simpler.
>
> Setup eth0, and activate it:
>
> ifconfig eth0 192.168.1.1 <http://192.168.1.1> netmask
> 255.255.255.0<http://255.255.255.0>broadcast
> 192.168.1.255 <http://192.168.1.255> up
> route add -net 0/0 gw 192.168.1.254 <http://192.168.1.254>
>
> ip addr add 192.168.1.1/24 <http://192.168.1.1/24> brd
> 192.168.1.255<http://192.168.1.255>
> ip link set eth0 up
> ip route add default via 192.168.1.254 <http://192.168.1.254>
>

http:// ???

that does not have anything to do there... http:// is for urls...
In the config, you are only dealing with ips ;)
-- 
[email protected] mailing list

Reply via email to