Using linuxconf 1.12r7, I want to change my network settings using linuxconf
as follows:

eth0: 195.11.233.97 netmask 255.255.255.240
        195.11.233.101-109 netmask 255.255.255.240
        195.11.231.97 netmask 255.255.255.192
        195.11.231.101-109 netmask 255.255.255.192
eth1: 192.168.125.1-254 netmask 255.255.255.0

The idea is to have the internal/external networks (intranet/internet)
physically separated.

The idea is that there are two means of communicating to the ISP. The first
trough network 195.11.233.96 (gateway 195.11.233.110) and the other trough
network 195.11.231.64 (gateway 195.11.231.65). This way, if the first
connection fails, the other connection can take over.

I have managed the first part (see ifconfig output below), but it generates
the wrong netmask for addresses 195.11.233.101-109 (but it seems to work
trough the ISP - this situation has been working for months, but only today
I discovered the wrong netmask):

eth0: 195.11.233.97 netmask 255.255.255.240
        195.11.233.101-109 netmask 255.255.255.0
eth1: 192.168.125.1-254 netmask 255.255.255.0

How should I proceed with the 195.11.231.97,101-109 with the correct netmask
to get on the same ethernet adapter?


Jeroen Pluimers
http://www.pluimers.com

Linux is just like a wigwam:
no Windows, no Gates and an Apache inside.


ifconfig output:

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:120569 errors:0 dropped:0 overruns:0
          TX packets:120569 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.97  Bcast:195.11.233.111
Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:609710 errors:0 dropped:0 overruns:0
          TX packets:288494 errors:0 dropped:0 overruns:0
          Interrupt:9 Base address:0xe000

eth0:0    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.101  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:1    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.102  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:2    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.103  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:3    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.104  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:4    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.105  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:5    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.106  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:6    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.107  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:7    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.108  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:8    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.233.109  Bcast:195.11.233.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:9    Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.101  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:10   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.102  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:11   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.103  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:12   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.104  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:13   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.105  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:14   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.106  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:15   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.107  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:16   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.108  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0:17   Link encap:10Mbps Ethernet  HWaddr 00:60:97:AF:3A:D8
          inet addr:195.11.231.109  Bcast:195.11.231.255  Mask:255.255.255.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth1      Link encap:10Mbps Ethernet  HWaddr 00:60:97:58:03:01
          inet addr:192.168.125.254  Bcast:192.168.125.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:535077 errors:6 dropped:6 overruns:0
          TX packets:184213 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x300


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to