Sponsored Content
Operating Systems Solaris Setting up static ip-adresses, Solaris 10 Post 302173340 by ggr on Thursday 6th of March 2008 11:44:26 AM
Old 03-06-2008
Hope this helps:

Code:
<root@agni-sol10> ifconfig hme0 plumb 
<root@agni-sol10> ifconfig hme0 
hme0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:8f:42:f8 
<root@agni-sol10> ifconfig hme0:1 plumb 
<root@agni-sol10> ifconfig hme0:2 plumb 
<root@agni-sol10> ifconfig hme0:3 plumb 

<root@agni-sol10> for iii in hme0:1 hme0:2 hme0:3 hme0 
> do
> ifconfig $iii
> done
hme0:1: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
hme0:2: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
hme0:3: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
hme0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0 
        ether 8:0:20:ee:42:f8 

<root@agni-sol10> ifconfig hme0:1 11.22.33.44 netmask + broadcast + up 
<root@agni-sol10> ifconfig hme0:2 11.22.33.55 netmask + broadcast + up
<root@agni-sol10> ifconfig hme0:3 11.22.33.66 netmask + broadcast + up
<root@agni-sol10> ifconfig hme0 11.22.33.100 netmask + broadcast + up

<root@agni-sol10> for iii in hme0:1 hme0:2 hme0:3 hme0 ^Jdo^Jifconfig $iii^Jdone
hme0:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 11.22.33.44 netmask ff000000 broadcast 11.255.255.255
hme0:2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 11.22.33.55 netmask ff000000 broadcast 11.255.255.255
hme0:3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 11.22.33.66 netmask ff000000 broadcast 11.255.255.255
hme0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 11.22.33.100 netmask ff000000 broadcast 11.255.255.255
        ether 8:0:20:ee:42:f8

Of course you should make sure that you set this value in the eeprom.
local-mac-address?=true

-GGR
 

10 More Discussions You Might Find Interesting

1. Solaris

Basic Solaris static routing

Hi All, :(:confused: I have scoured the web and can't find this anywhere. What I am trying to do is set up a static route through an available gateway on a server, and then test connectivity through TELNET. I have done this on AIX (I already had this procedure). On AIX I would use SMIT. ... (7 Replies)
Discussion started by: jeffpas
7 Replies

2. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

3. UNIX for Dummies Questions & Answers

Static IP address for solaris 10 virtual machine

Hi All I am having a solaris 10 virtual machine on vista (using vmware 7) laptop. Now i want to access virtual machine from vista using putty. Problem is that i insalled the solaris machine as dhcp. and whenever i connect to internet or reboot my system the IP address of solaris... (1 Reply)
Discussion started by: ankurk
1 Replies

4. Solaris

Solaris - Assign Static IP

Hi, I have cloned a SOLARIS 8 (BLADE 150) Hard Disk and have put into other system. So, now how do I configure the NIC and assign static IP for this new machine ? (8 Replies)
Discussion started by: angshuman_ag
8 Replies

5. Solaris

How to assign static ip address to the server having solaris 10. i.e. nge0

hi, how to assign static ip address to the server having solaris 10. assign static ip to nge0 which will sustain across reboots which will include all settings including gateway setting etc.. (2 Replies)
Discussion started by: pankajd
2 Replies

6. IP Networking

Trouble setting up a static IP on NetGear DGN1000

I have been trying to setup a static ip, however everytime I do so my internet disconnects and won't connect untill I switch back to dynamic. My router is a NetGear DGN1000 and I'm using it wired. Could anyone help? (0 Replies)
Discussion started by: zomigosh
0 Replies

7. Solaris

ILOM AND ALOM IP adresses

hi guys How to know ILOM and ALOM ip address. how to find the ilom alerts and alom alerts can one help out pls thanks, deepu. ---------- Post updated at 04:39 AM ---------- Previous update was at 04:38 AM ---------- (2 Replies)
Discussion started by: pradeepaasuri
2 Replies

8. Red Hat

Setting Up live FTP Server with Static IP in Red-Hat Linux 6

Hi Guys, I want to some guidance from you in setting up the Live FTP server in Redhat Linux 6 with Static IP 120.50.150.50. Now should I set my Static Public IP directly to my Linux machine? If so what whould be my sunbet mask? Is any type of natting required here? if so where would... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

9. Solaris

Solaris 11 problem with static ip

I have installed Solaris 11.2 in VMware Player, networked in bridged mode. When Solaris uses DHCP everything is OK, I can reach internet, as well as other systems on my LAN. When I switch to static, I have connections to my LAN, but can not get to internet, the DNS resolution is somehow not... (2 Replies)
Discussion started by: migurus
2 Replies

10. Solaris

Solaris static IP changed (non DHCP)

We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc) They are not using dhcp. About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 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 09:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy