Sponsored Content
Full Discussion: Can't setup new interface.
Special Forums IP Networking Can't setup new interface. Post 302886166 by Junaid Subhani on Wednesday 29th of January 2014 11:52:41 PM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
inet_type(4)							   File Formats 						      inet_type(4)

NAME
inet_type - default Internet protocol type SYNOPSIS
/etc/default/inet_type DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands. The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be assigned a value of IP_VERSION4, IP_VERSION6, or BOTH. The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default, both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that will be displayed: IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M) and netstat(1M) commands. IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat. BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat. The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example, even if the value of DEFAULT_IP is IP_VERSION4, the command example% ifconfig -a6 will display all IPv6 interfaces. EXAMPLES
Example 1: Suppressing IPv6 Related Output This is what the inet_type file must contain if you want to suppress IPv6 related output: DEFAULT_IP=IP_VERSION4 SEE ALSO
ifconfig(1M), netstat(1M) SunOS 5.10 16 Jun 1999 inet_type(4)
All times are GMT -4. The time now is 05:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy