netconfig
Does all n/w configuration stuff...
-Naren
On Wed, 30 May 2001, Binand Raj S. wrote:
> >>>>> "Harry" == H 4Harry <[EMAIL PROTECTED]> writes:
>
> Harry> HI I have came across a Slackware Linux machine, some one
> Harry> had setup a router, which has 2 network cards, and also
> Harry> runs squid to do all the proxy etc How can change ip
> Harry> address of these cards please? Eth0 and Eth1. I have used
> Harry> SUSE and RedHat before, with the nice interface, but this
> Harry> does not have any other tools.. What do I have to type in
> Harry> to change this please? Any help is greatly appreciated.
> Harry> Thanks Harry
>
> SuSE and RedHat may have all nice interfaces, but the essential thing
> they do are the same, run a few commands in /sbin and /usr/sbin (all
> documented in section 8 of the Unix online manual). To change the ip
> address of eth0; do (same for eth1):
>
> ifconfig eth0 down
> ifconfig eth0 192.168.111.1 netmask 255.255.255.0 up
>
> To have your default route to eth1, do:
>
> route add -net default dev eth1
>
> And, for the other card, you need:
>
> route add -net 192.168.100.0 netmask 255.255.255.0 dev eth0
>
> Binand
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/linux-india-help
>
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help