On Mon, Aug 19, 2002 at 09:11:10AM +0800, Chua Keng Koon wrote: > Hi, > > I have the SIS630 Chipset which has an integrated network card (SIS900) and a > Wireless PCMCIA card. I'm trying to use the sis900 card in the office and the > wireless at home. Both of them have a different gateway IP, and DNS, now the > problem is how am I going to have a different profile for me to switch > between both card? > > Seem that the gateway configuration is fixed. > ie. under /etc/network I have > GATEWAY="192.168.0.1" > GATEWAYDEV="eth0" > > How can it be switch to > GATEWAY="192.168.1.2" > GATEWAYDEV="eth1"
Don't set the GATEWAY in /etc/sysconfig/network but set them in the individual /etc/sysconfig/network-scripts/ifcfg-eth* files. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org If your love has no hope of being welcomed do not voice it; for if it be silent it can endure, a guarded flame, within you. - The Wisdom of the Sands
