![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| network-config 0.2 (Default branch) | iBot | Software Releases - RSS News | 0 | 04-08-2008 12:40 AM |
| [need help] about after running sys-unconfig and config network for v890 | bucci | SUN Solaris | 5 | 10-18-2006 09:31 AM |
| 1st install Suse, network config set up | Nick7269 | UNIX for Dummies Questions & Answers | 2 | 06-06-2006 04:05 PM |
| network config problem - how to set the server for others to ssh without password | GCTEII | SUN Solaris | 1 | 05-11-2006 08:58 PM |
| installation of Solaris: installation bypasses network config. | cadmiumgreen | SUN Solaris | 2 | 07-15-2005 10:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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! |
|
||||
|
OK, here is the explanation:
At first we have this computers in network 192.168.1.xxx (home network) with netmask 255.255.255.0 All computers from network 192.168.1.xxx have access to this computer over network (telnet, FTP). Now we moved this machine to other network (192.168.3.xxx) whitch is connected throu wireles lan and router to home network. We changed IP addres of the machine from 192.168.1.25 to 192.168.3.25 and netmask from 255.255.255.0 to 255.255.0.0 so computer can be visible from both loactions (both networks). But then we saw, that even if we changed netmask to 255.255.0.0 network card stil have netmask 255.255.255.0. We checked it with ifconfig : tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX> inet 192.168.3.25 netmask ffffff00 broadcast 192.168.3.255 ipmtu 1500 So we can not change netmask to what we like. I hope it is clearer now! Thanks! |
|
||||
|
Well, I'm new at UNIX so if you have time write me how to instal routes (gateway for 192.168.3.xx is 192.168.3.1).
But the funny thing is that we have two UNIX machines on that location. One with Digital UNIX V4.0B (Rev. 564) have problem I described 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 the other one Digital UNIX V4.0D (Rev. 878) is working just fine with netmask 255.255.0.0 ifconfig -a tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX> inet 192.168.3.46 netmask ffff0000 broadcast 192.168.255.255 ipmtu 1500 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|