how to change the subnet mask of interface


 
Thread Tools Search this Thread
Operating Systems Solaris how to change the subnet mask of interface
# 1  
Old 05-06-2009
Bug how to change the subnet mask of interface

Hi all,

could you please tell me how to Change the subnet mask of interface aded:1 from ffffffc0 to ffffff80

regards
Krishna
# 2  
Old 05-06-2009
You can use ifconfig and you should also update /etc/netmasks
# 3  
Old 05-06-2009
give some examples please.


regards
Krishna
# 4  
Old 05-06-2009
1) Edit /etc/inet/netmasks with the subnet and netmask information for
example:

# 10.82.3.0 255.255.255.0

2) If the interfaces are already plumbed/up on that particular server
than issue the following:

# ifconfig -a netmask + broadcast + <ENTER>

This will change the netmask on the fly as well as persistantly.
# 5  
Old 05-06-2009
Hi incredible,

I am OK with your example, but i have still doubt on change the subnet mask value.

where i can change this value ffffffc0 to ffffff80. please give another example.

Many thanks for your help on this.


regards
Krishna
# 6  
Old 05-06-2009
Quote:
Originally Posted by murthy76
give some examples please.


regards
Krishna
Using the search function of this website or google would get you plenty of examples. There are man pages for both included in the Solaris OS and Sun Microsystems Documentation has detailed documents. You have to do some of the work yourself.
# 7  
Old 05-06-2009
ffffffc0 is 255.255.255.192 and ffffff80 is 255.255.255.128.

Use the decimal notation in your /etc/netmasks file.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get all ip address from subnet mask

I have this subnet file shown below. How can I calculate all ip addresses from that list 103.22.200.0/22 141.101.64.0/18 10.0.0.0/22I need to be able to read the subnet file and print all IPs in those subnet to an out put file (3 Replies)
Discussion started by: e_mikey_2000
3 Replies

2. Solaris

Changing the subnet mask on solaris 10

Hello, can anyone help me with the command to change the subnet mask on solaris 10? The mask is currently 255.255.255.255 I will like to change it to 255.255.2555.0. Thank you (5 Replies)
Discussion started by: cjashu
5 Replies

3. IP Networking

lookup ip address, subnet mask, gateway, and dns at same time

Is there a command that can lookup ip address, subnet mask, gateway, and dns all at the same. I know ifconfig can lookup ip address and subnet mask. I know route -n can lookup gateway. Not sure about a dns command. So I hope there is a way to lookup ip address, subnet mask, gateway, and dns all at... (2 Replies)
Discussion started by: cokedude
2 Replies

4. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

5. AIX

Changing subnet mask for a NIM Network.

I am new to this forum so please bare with me. I did search for this answer prior to posting but no luck. Running an AIX NIM Master at 5.3TL9SP4, with about 100 clients. The subnet of one of the networks defined in the NIM env has changed. When I go to Manage Networks, Change/Show... (0 Replies)
Discussion started by: juredd1
0 Replies

6. Solaris

Need help in changing the subnet mask

Hi, I have a task to edit the subnet mask in almost 100+ solaris servers.Few of the servers are configured with IPMP.There will be no change of IP address or default gateway.If its a single IP we can bring NIC down,change the subnet mask in /etc/netmasks,then bring the NIC back to normal.But... (3 Replies)
Discussion started by: rajip23
3 Replies

7. IP Networking

Static IP / Subnet mask and Gateway

Hi all, I installed Fedora 9 + squid at one of PC at work. Our company has windows 2003 servera acting as DHCP server. During installation, i set linux box up as Static IP (192.168.0.100) But once installation completed, The pc is assigned a different IP address instead of 192.168.0.100.... (3 Replies)
Discussion started by: c00kie88
3 Replies

8. IP Networking

changing the subnet mask permanently

I understand how to change the ip address permanently however, I need to also make a permanent change to the subnet mask. How would I accomplish this. (5 Replies)
Discussion started by: johnparksjr
5 Replies

9. IP Networking

Subnet mask

Hi, I have about 30 computers for users with subnet mask x.x.x.0, and 25 computers for workers with s.m. x.x.x.128. My server has a s.m. x.x.x.128 so with workers computers I can see my server and all the computers in that s.m., but I can't see the server from the users computers and I need to see... (7 Replies)
Discussion started by: Z0DiaC
7 Replies
Login or Register to Ask a Question