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
SHMIF(4)						   BSD Kernel Interfaces Manual 						  SHMIF(4)

NAME
shmif -- rump shared memory network interface SYNOPSIS
#include <rump/rump.h> int rump_pub_shmif_create(const char *path, int *ifnum); DESCRIPTION
The shmif interface uses a memory mapped regular file as a virtual Ethernet bus. All interfaces connected to the same bus see each others' traffic. Using a memory mapped regular file as a bus has two implications: 1. The bus identifier is not in flat global namespace. 2. Configuring and using the interface is possible without superuser privileges on the host (normal host file access permissions for the bus hold). It is not possible to directly access the host networking facilities from a rump virtual kernel using purely shmif. However, traffic can be routed to another rump kernel instance which provides both shmif and virt(4) networking. An shmif interface can be created in two ways: o Programmatically by calling rump_pub_shmif_create(). The bus pathname is passed in path. The number of the newly created interface is available after a successful call by dereferencing ifnum. o Dynamically at runtime with ifconfig(8) or equivalent using the create command. In this case the bus path must be configured with ifconfig(8) linkstr before the interface address can be configured. Destroying an shmif interface is possible only via ifconfig(8) destroy. SEE ALSO
rump(3), virt(4), ifconfig(8) BSD
November 17, 2010 BSD
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy