On Sat, 2002-06-29 at 04:24, Leonard den Ottolander wrote:
> Hi Kalin,
> 
> > what about two "not default" gateways?
> > if i have two eth cards that reside on 2 different networks i'll need two
> > different gateways - one for each network...
> 
>  You set the gateway for each interface in the ifcfg-<device> scripts under 
> /etc/sysconfig/network-scripts.
> 
> Bye,
> Leonard.

To make it easy, I run netconfig -d eth? on each device to set the ip,
netmask, gateway, etc...then restart networking /etc/init.d/network
restart

$ netconfig --help
Usage: netconfig [OPTION...]
  --bootproto=(dhcp|bootp|none)     Boot protocol to use
  --gateway=STRING                  Network gateway
  --ip=STRING                       IP address
  --nameserver=STRING               Nameserver
  --netmask=STRING                  Netmask
  --hostname=STRING                 Hostname
  --domain=STRING                   Domain name
  -d, --device=STRING               Network device
  --nodns                           No DNS lookups

Help options:
  -?, --help                        Show this help message
  --usage                           Display brief usage message


I assume kudzu has already detected his network cards?


jay




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to