1. what about /etc/sysconfig/network ?
2. what about /etc/sysconfig/network-scripts/net_cnx_up ?
3. ifconfig ?
4. route -n ?
5. grep -v ^# /etc/shorewall/{zones,interfaces,masq,policy,rules} |grep -v $^ 

>Adam Williamson <[EMAIL PROTECTED]> writes:

> On Wed, 2003-02-26 at 14:00, Florin wrote:
> > drakgw assumes that you have configured your network with drakconnect and
> > parses the /etc/sysconfig/network-scripts/net_cnx_up files in order to
> > detect the net interface ... maybe this is not your case ...
> > 
> > Also, during the drakconnect setup, make sure you have chosen the right
> > gateway interface ... In my case, the "right" gateway interface is eth1,
> > but drakconnect has eth0 as default ... one might leave it as it is ...
> > and this not what one wants ...
> 
> Yes, I configured with drakconnect. The gateway device is eth0, the NIC
> which is connected to the college network, which is correct.
> 
> ifcfg-eth0 reads:
> 
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=131.111.201.49
> NETMASK=255.255.0.0
> NETWORK=131.111.0.0
> BROADCAST=131.111.255.255
> ONBOOT=yes
> NEEDHOSTNAME=yes
> 
> ifcfg-eth1 reads:
> 
> DEVICE=eth1
> BOOTPROTO=static
> IPADDR=192.168.1.1
> NETMASK=255.255.255.0
> NETWORK=192.168.1.0
> BROADCAST=192.168.1.255
> ONBOOT=yes

-- 
Florin                  http://www.mandrakesoft.com
                        http://people.mandrakesoft.com/~florin/

Reply via email to