08-08-2003
6,
0
Join Date: Aug 2003
Last Activity: 25 August 2003, 1:19 AM EDT
Posts: 6
Thanks Given: 0
Thanked 0 Times in 0 Posts
How can you explain this - Strange network config
First ifconfig command:
ifconfig -a
tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
inet 192.168.3.25 netmask ffffff00 broadcast 192.168.3.255 ipmtu 1500
tu0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
inet 128.1.51.219 netmask ffff0000 broadcast 128.1.255.255 ipmtu 1500
sl0: flags=11<UP,POINTOPOINT>
inet 128.1.19.2 --> 128.1.19.1 netmask ffff0000 ipmtu 296
lo0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
inet 127.0.0.1 netmask ff000000 ipmtu 1536
ppp0: flags=10<POINTOPOINT>
... then network configuration:
***** DISPLAY NETWORK CONFIGURATION *****
Obtaining hardware and software configuration. Please wait...
Current network adapters on this system:
tu1
tu0
sl0
Current software configuration in /etc/rc.config:
HOSTNAME = wsys235
NUM_NETCONFIG = 3
NETDEV_0 = tu0
IFCONFIG_0 = 128.1.51.219 netmask 255.255.0.0
NETDEV_1 = tu1
IFCONFIG_1 = 192.168.3.25 netmask 255.255.0.0
NETDEV_2 = sl0
IFCONFIG_2 = 128.1.19.2 128.1.19.1 netmask 255.255.0.0
SLIPTTY_2 =
RWHOD =
ROUTED =
ROUTED_FLAGS =
GATED =
GATED_FLAGS =
GATED_OLD =
ROUTER =
MAX_NETDEVS = 24
If you compare those two lists you can see that tu1 network adapter configuration is not equal (subnet is diferent). When I try to change subnet throu netsetup unix give me the message:
Enter the subnet mask in dot notation [255.255.0.0]: 255.255.0.0
You provided an incorrect subnet mask. The mask should be of the form
255.255.n.n where each 'n' is a number less than or equal to 255.
The default netmask is 255.255.0.0
If I left default netmask i get same message. I can only left netsetup by pressing Ctrl+c.
Any ideas! Thanx!