Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How can you explain this - Strange network config Post 39170 by ermingut on Friday 8th of August 2003 06:41:31 AM
Old 08-08-2003
Network 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!
 

9 More Discussions You Might Find Interesting

1. Solaris

network config problem - how to set the server for others to ssh without password

Hi, I want to ssh the linux server without inputting the password, how can I config this server? Thanks in advance! (1 Reply)
Discussion started by: GCTEII
1 Replies

2. UNIX for Dummies Questions & Answers

1st install Suse, network config set up

Hello, I'm a newbie to unix. I just about have the Suse 10.1 installed. During set up it automatically detected components to access the internet. But failed. I lost now. Any ideas? Thank You (2 Replies)
Discussion started by: Nick7269
2 Replies

3. Solaris

[need help] about after running sys-unconfig and config network for v890

hi expert, i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages : NIS domainname is www.USSDGmdn-4.com starting rpc services: rpcbind keyserv done. Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies

4. IP Networking

strange network problem

system config. Red hat ES 5 . multiple network cards. front end and back end networks. Problem: Here is what I have diagnosed on linux 6 .....other machines on the network if you try to get there do not see linux 6, a ping results in “no route to host” message. However the system is running... (4 Replies)
Discussion started by: frankkahle
4 Replies

5. IP Networking

Strange network behaviour in Solaris 10

Hi folks how can this be explained? Cheers Spacerat ---- tom@jumpstart:~$ cat /etc/resolv.conf domain acceleris.ch nameserver 192.168.21.230 tom@jumpstart:~$ nslookup Google 192.168.21.230 Server: 192.168.21.230 Address: 192.168.21.230#53 Non-authoritative answer:... (2 Replies)
Discussion started by: Spacerat
2 Replies

6. UNIX for Advanced & Expert Users

What files or programs have the ability to change your default network scripts and config

What files or programs have the ability to change your default network scripts and config files? All 3 of these very important files got changed on their own. /etc/sysconfig/network-scripts/ifcfg-wlan0 /etc/sysconfig/networking/devices/ifcfg-wlan0... (4 Replies)
Discussion started by: cokedude
4 Replies

7. Hardware

HP Compaq 6710 - Strange network problems

Hi gurus, I am experiencing strange networks problems. I am trying to teather internet from HTC Desire S with Android. Basicly I followed those instructions: https://wiki.archlinux.org/index.php/Android_Tethering#Procedure 1.) Enable USB Debugging - Phone: Settings --> Applications -->... (0 Replies)
Discussion started by: wakatana
0 Replies

8. Solaris

Network Config on Zone in a Guest LDOM

Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies

9. Solaris

Network / global zones (Solaris 10 / 8) config recommendations

I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network. My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network. I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies
GRE(4)							   BSD Kernel Interfaces Manual 						    GRE(4)

NAME
gre -- encapsulating network device SYNOPSIS
To compile the driver into the kernel, place the following line in the kernel configuration file: device gre Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_gre_load="YES" DESCRIPTION
The gre network interface pseudo device encapsulates datagrams into IP. These encapsulated datagrams are routed to a destination host, where they are decapsulated and further routed to their final destination. The ``tunnel'' appears to the inner datagrams as one hop. gre interfaces are dynamically created and destroyed with the ifconfig(8) create and destroy subcommands. This driver corresponds to RFC 2784. Encapsulated datagrams are prepended an outer datagram and a GRE header. The GRE header specifies the type of the encapsulated datagram and thus allows for tunneling other protocols than IP. GRE mode is also the default tunnel mode on Cisco routers. gre also supports Cisco WCCP protocol, both version 1 and version 2. The gre interfaces support a number of additional parameters to the ifconfig(8): grekey Set the GRE key used for outgoing packets. A value of 0 disables the key option. enable_csum Enables checksum calculation for outgoing packets. enable_seq Enables use of sequence number field in the GRE header for outgoing packets. EXAMPLES
192.168.1.* --- Router A -------tunnel-------- Router B --- 192.168.2.* / / +------ the Internet ------+ Assuming router A has the (external) IP address A and the internal address 192.168.1.1, while router B has external address B and internal address 192.168.2.1, the following commands will configure the tunnel: On router A: ifconfig greN create ifconfig greN inet 192.168.1.1 192.168.2.1 ifconfig greN inet tunnel A B route add -net 192.168.2 -netmask 255.255.255.0 192.168.2.1 On router B: ifconfig greN create ifconfig greN inet 192.168.2.1 192.168.1.1 ifconfig greN inet tunnel B A route add -net 192.168.1 -netmask 255.255.255.0 192.168.1.1 NOTES
The MTU of gre interfaces is set to 1476 by default, to match the value used by Cisco routers. This may not be an optimal value, depending on the link between the two tunnel endpoints. It can be adjusted via ifconfig(8). For correct operation, the gre device needs a route to the decapsulating host that does not run over the tunnel, as this would be a loop. The kernel must be set to forward datagrams by setting the net.inet.ip.forwarding sysctl(8) variable to non-zero. SEE ALSO
gif(4), inet(4), ip(4), me(4), netintro(4), protocols(5), ifconfig(8), sysctl(8) A description of GRE encapsulation can be found in RFC 2784 and RFC 2890. AUTHORS
Andrey V. Elsukov <ae@FreeBSD.org> Heiko W.Rupp <hwr@pilhuhn.de> BUGS
The current implementation uses the key only for outgoing packets. Incoming packets with a different key or without a key will be treated as if they would belong to this interface. The sequence number field also used only for outgoing packets. BSD
November 7, 2014 BSD
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy