Sponsored Content
Operating Systems Solaris Netmask settings in Solaris 11 Post 302874349 by solaris_1977 on Thursday 14th of November 2013 11:03:28 PM
Old 11-15-2013
Sorry for continuing old topic, but it was related to same server, so putting my question here.
As bartus suggested, I was able to fix issue. Now I have installed a non global zone on this server, which is having 3 IP's. But those coming in different netmask when I am rebooting server.
Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone vtlplddp02
        inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.53.77.154 netmask fffffc00 broadcast 10.53.79.255
        ether 0:10:e0:3a:c4:d8
net0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone vtlplddp02
        inet 10.53.77.169 netmask ff000000 broadcast 10.255.255.255
net0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone vtlplddp02
        inet 10.53.77.170 netmask ff000000 broadcast 10.255.255.255
net0:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone vtlplddp02
        inet 10.53.77.171 netmask ff000000 broadcast 10.255.255.255
net4: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.52.217.14 netmask fffffc00 broadcast 10.52.219.255
        ether a0:36:9f:14:b8:4c
net8: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 169.254.182.77 netmask ffffff00 broadcast 169.254.182.255
        ether 2:21:28:57:47:17
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128
lo0:1: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        zone vtlplddp02
        inet6 ::1/128
net0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
        inet6 fe80::210:e0ff:fe3a:c4d8/10
        ether 0:10:e0:3a:c4:d8
net4: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 3
        inet6 ::/0
        ether a0:36:9f:14:b8:4c
net8: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 4
        inet6 ::/0
        ether 2:21:28:57:47:17
# ipadm
NAME              CLASS/TYPE STATE        UNDER      ADDR
lo0               loopback   ok           --         --
   lo0/v4         static     ok           --         127.0.0.1/8
   lo0/v6         static     ok           --         ::1/128
   lo0/zoneadmd.v4 static    ok           --         127.0.0.1/8
   lo0/zoneadmd.v6 static    ok           --         ::1/128
net0              ip         ok           --         --
   net0/v4        static     ok           --         10.53.77.154/22
   net0/v6        addrconf   ok           --         fe80::210:e0ff:fe3a:c4d8/10
   net0/zoneadmd.v4 static   ok           --         10.53.77.169/8
   net0/zoneadmd.v4a static  ok           --         10.53.77.170/8
   net0/zoneadmd.v4b static  ok           --         10.53.77.171/8
net4              ip         ok           --         --
   net4/v4        static     ok           --         10.52.217.14/22
net8              ip         ok           --         --
   net8/v4        static     ok           --         169.254.182.77/24
#

net0 is fine, other three virtual IP's are for non global zone. Earlier suggested command is not working, seems like I am giving some wrong syntax
Code:
# ipadm set-addrprop -p prefixlen=22 net0/zoneadmd.v4
ipadm: set-addrprop: prefixlen: Persistent operation on temporary object

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Terminal settings on solaris

I am getting the following error when try to use vi vt100: Unknown terminal type Visual needs addressable cursor or upline capability : I have checked the TERM variable which is set to vt100. What could be the problem. This is on solaris 2.8 and i am doing telnet. (2 Replies)
Discussion started by: sssow
2 Replies

2. Linux

Change IP, Netmask, Default GW on linux

How can I permenantly change the IP, netmask and default GW for Linux server on Apatchi. (2 Replies)
Discussion started by: salhoub
2 Replies

3. IP Networking

Netmask

Hi, On our new Solaris machine I have set up a network card with an IP of 10.44.12.102 , netmask of 255.255.252.0 and broadcast 19.44.15.255. These are to match current configuration on the other servers (running an older Solaris). However , after the machine is rebooted the ifconfig -a displays... (2 Replies)
Discussion started by: markdr011
2 Replies

4. Shell Programming and Scripting

script for netmask check

I want develop a script which should also check validity of netmask. e.g. /etc/netmasks 10.15.20.30 255.255.255.224 How can I check which IP adresses are valid for this netmask? I think the best is use logical operations. 224 is 1 1 1 0 0 0 0 0 so is valid from 10.15.20.31... (2 Replies)
Discussion started by: rhacodactylus
2 Replies

5. Solaris

Terminal settings from linux to solaris

When I log in from my linux workstation (CentOS4) to a solaris 8 server using SSH or telnet, the terminal settings don't seem to work well. When I tail or vi a file, I get a blank screen or no response, and I am no longer able to interact with the session. I have to type the escape sequence to... (2 Replies)
Discussion started by: tjlst15
2 Replies

6. IP Networking

Netmask change online

Hi, I have a system which has been setup with a netmask of 255.255.252.0 . The customer says this netmask is wrong as is causing them some problems. They want me to change it too 255.255.254.0 So what would the command be for my bge0 port. Can I do this whilst its running the software ?... (1 Reply)
Discussion started by: Maillot Jaune
1 Replies

7. Solaris

Solaris 10 Speed and Duplex Settings: bge

Evening, I am attempting to change the speed and duplex settings on a single interface on a bge card on an m3000 SPARC server. Currently the settings are as follows: bge0 link: up speed: 1000 Mbps duplex: full bge1 link: up speed: 100 Mbps ... (13 Replies)
Discussion started by: brialt1
13 Replies

8. Solaris

Java Solaris 10 Zone settings

I have the following situation 1) Start JBoss Server 1 2) Within application - print as normal 3) Start JBoss Server 2 4) Printing STOPS on Server 1; Printing does NOT WORK on Server 2 Only solution is to stop Server 2; Restart Server 1 Then Printing works as normal. Doung a truss... (8 Replies)
Discussion started by: pmm
8 Replies

9. Solaris

Sun Solaris 10 FTP settings

Hi, I have a question, I have a legacy windows application that download files using FTP..The server previously was a Windows based server but it was upgraded to Sun Solaris 10. And that was when the application stopped working. After a long time of troubleshooting, I might have found that the... (4 Replies)
Discussion started by: brian12988
4 Replies

10. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies
NTB(4)							   BSD Kernel Interfaces Manual 						    NTB(4)

NAME
ntb, ntb_hw, if_ntb -- Intel(R) Non-Transparent Bridge driver SYNOPSIS
To compile this driver into your kernel, place the following lines in your kernel configuration file: device ntb_hw device if_ntb Or, to load the driver as a module at boot, place the following line in loader.conf(5): if_ntb_load="YES" DESCRIPTION
The ntb driver provides support for the Non-Transparent Bridge (NTB) in the Intel S1200, Xeon E3 and Xeon E5 processor families. The NTB allows you to connect two computer systems using a PCI-e link if they have the correct equipment and connectors. CONFIGURATION
The NTB memory windows need to be configured by the BIOS. If your BIOS allows you to set their size, you should set the size of both memory windows to 1 MiB. This needs to be done on both systems. Each system needs to have a different IP address assigned. The MAC address is randomly generated. Also for maximum performance, the MTU should be set to 16 kiB. This can be done by adding the line below to rc.conf(5): ifconfig_ntb0="inet 192.168.1.10 netmask 255.255.255.0 mtu 16384" And on the second system : ifconfig_ntb0="inet 192.168.1.11 netmask 255.255.255.0 mtu 16384" If you are using the UDP protocol, you may want to increase the net.inet.udp.maxdgram sysctl(8) variable. SEE ALSO
rc.conf(5), sysctl(8) AUTHORS
The ntb driver was developed by Intel and originally written by Carl Delsey <carl@FreeBSD.org>. BUGS
If the driver is unloaded, it cannot be reloaded without a system reboot. The network support is limited. It isn't fully configurable yet. It also isn't integrated into netgraph(4) or bpf(4). NTB to Root Port mode is not yet supported. There is no way to protect your system from malicious behavior on the other system once the link is brought up. Anyone with root or kernel access on the other system can read or write to any location on your system. In other words, only connect two systems that completely trust each other. BSD
Apr 11, 2013 BSD
All times are GMT -4. The time now is 04:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy