Can't setup new interface.


 
Thread Tools Search this Thread
Special Forums IP Networking Can't setup new interface.
# 1  
Old 01-30-2014
Wrench Can't setup new interface.

Hi all,
Currently I am running Solaris 10 update 10 machine.
My current ifconfig -a output is:
Code:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 172.21.16.65 netmask ffffff00 broadcast 172.21.16.255
        ether 0:14:4f:a1:5d:9c

Code:
dladm show-dev
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: unknown   speed: 0     Mbps       duplex: unknown
bge2            link: unknown   speed: 0     Mbps       duplex: unknown
bge3            link: unknown   speed: 1000  Mbps       duplex: full

I want to setup a new IP of a different subnet on bge3. bge0 is already configured and I am using ssh on it to connect remotely.

First I did a:
Code:
ifconfig bge3 plumb

Then my ifconfig -a output became :
Code:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 172.21.16.65 netmask ffffff00 broadcast 172.21.16.255
        ether 0:14:4f:a1:5d:9c 
bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 9
        inet 0.0.0.0 netmask 0 
        ether 0:14:4f:a1:5d:9f

Next when I do a ;
Code:
ifconfig bge3 172.21.6.130 netmask + 255.255.255.0 up

It gives me an error:
Code:
ifconfig: setifdstaddr: SIOCSLIFDSTADDR: bge3: Cannot assign requested address

What is wrong ? How can I fix it ?
Smilie
# 2  
Old 01-30-2014
Why do you use "+" and 255.255.255.0 after netmask? Try just one or the other
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

2. UNIX for Dummies Questions & Answers

Interface

Hi All, How to check whether a Interface has a single port or dual port.Thanks in advance. (5 Replies)
Discussion started by: rama krishna
5 Replies

3. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 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. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

6. Solaris

setup network interface

hi, i have sunfire 280r sparc. i would like to know how to setup interface with command ndd line and put it in the file permanently. my card is eri0 and speed can be 100mb or 1000mb full duplex. thanks in advance. (3 Replies)
Discussion started by: lamoul
3 Replies

7. IP Networking

How to down interface without name

Hi, ifconfig -a return: eth0 Link encap:Ethernet HWaddr 00:09:3D:12:9D:5A inet addr:172.19.208.7 Bcast:172.19.208.63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:211478649 errors:0 dropped:0 overruns:0 frame:0 ... (5 Replies)
Discussion started by: djbuly
5 Replies

8. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

9. Solaris

interface may off

Dear ALL, my server give me messages like below: Apr 20 21:33:09 TAISERVER in.routed: interface bge3 to 192.168.11.22 turned off I check with ifconfig,but nothing error that,how can make it solve...thanks for your help. (7 Replies)
Discussion started by: fredginting
7 Replies
Login or Register to Ask a Question