netconfig

jwantz at hpcc2.hpcc.noaa.gov jwantz at hpcc2.hpcc.noaa.gov
Fri Nov 9 12:37:46 EST 2001


Hi,
Well Greg, I presume that you are using eth1 for your local network.  I
have netconfig with On Thu, 8 Nov 2001, Gregory Nowak wrote:
have netconfig with Redhat 7.1, but I use it so rarely that I don't
remember any of the commands.  Why don't you use the ifconfig and route
commands instead.  Say for example you want to assign an ip address of
10.10.10.1 to eth1.  Then the following commands should work:
ifconfig eth1 10.10.10.1 netmask 255.255.255.0 up
route add -net 10.10.10.0 netmask 255.255.255.0 eth1
Now, if you were going to use eth11 as your card that was connected to the
Internet you would need to know what your gateway ip was.  If it were say
24.3.46.1 you would use the line:
route add default gw 24.3.46.1 eth1
Of course you'd use 24. ip addresses in the first two lines rather than
10. lines.  I've gotten so used to this process that I can configure a
card in just a few seconds.

     73s
     Jim Wantz WB0TFK
 > Hi all, >
> I didn't see a man or info page for netconfig under slackware, so I thought I'd ask.
> Is it possible to use netconfig to configure eth1 instead of eth0 which I've already configured? Thanks.
> Greg
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>





More information about the Speakup mailing list