Sponsored Content
Operating Systems Solaris LDOM Solaris 11 add Network vsw (Virtual switch) Post 303009283 by Wittman on Tuesday 12th of December 2017 05:09:05 AM
Old 12-12-2017
LDOM Solaris 11 add Network vsw (Virtual switch)

So...

I can create vlan with aggr

Code:
dladm create-aggr -l net0 -l net1 aggr0
dladm modify-aggr -L active -T long aggr0
dladm create-vlan -l aggr0 -v 503 vlan503 
ipadm create-ip vlan503 
ipadm create-addr -T static -a 172.22.206.154/23

root@madarrlab01:~# dladm show-link
LINK                CLASS     MTU    STATE    OVER
net1                phys      1500   up       --
net2                phys      1500   unknown  --
net0                phys      1500   up       --
net3                phys      1500   unknown  --
net4                phys      1500   up       --
aggr0               aggr      1500   up       net0 net1
vlan503             vlan      1500   up       aggr0

root@madarrlab01:~# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net1              Ethernet             up         1000   full      e1000g1
net2              Ethernet             unknown    0      unknown   e1000g2
net0              Ethernet             up         1000   full      e1000g0
net3              Ethernet             unknown    0      unknown   e1000g3
net4              Ethernet             up         1000   full      vsw0



root@madarrlab01:~# ldm add-vsw net-dev=aggr0 pvid=1 vid=503 madarrwebsol10-vsw0 primary

root@madarrlab01:~# ldm add-vnet pvid=503 vnet0 madarrwebsol10-vsw0 madarrwebsol10

reboot system.

and

Code:
root@madarrlab01:~# ldm list-config
factory-default
config2 [next poweron]
configuraci\0)+\//+n_1

root@madarrlab01:~# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      6     9504M     15%  4m
madarrwebsol10   inactive   ------          6     6644M

root@madarrlab01:~# ldm bind madarrwebsol10
root@madarrlab01:~# ldm start-domain madarrwebsol10
LDom madarrwebsol10 started

telnet 0 5000

bash-3.2# hostname
madarrwebsol10
bash-3.2#  dladm show-dev
vnet0           v▒nculo: up     velocidad: 0     Mbps   d▒plex: unknown

ifconfig vnet0 plumb up
ifconfig vnet0 172.22.206.110 netmask + 255.255.254.0

 ping 172.22.206.110

Haciendo ping a 172.22.206.110 con 32 bytes de datos:
Responding from 172.22.206.110: bytes=32 tiempo=48ms TTL=250
Responding from 172.22.206.110: bytes=32 tiempo=4ms TTL=250
Responding from 172.22.206.110: bytes=32 tiempo=5ms TTL=250
Responding from 172.22.206.110: bytes=32 tiempo=7ms TTL=250


IT WORKS!!!

Thanks guys!!


Moderator's Comments:
Mod Comment Seriously: Please use CODE tags as required by forum rules!

Last edited by RudiC; 12-12-2017 at 06:33 AM.. Reason: Added CODE tags.
 

9 More Discussions You Might Find Interesting

1. Linux

Does a network switch behaves as webserver

Hi, I have a question on web servers and network switches. Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra. Regards Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies

2. IP Networking

2 WAN connections on 1 switch/network

I want to know potential problems with the following scenario OR if it is an ok way to have my network setup: I have 2 WAN connections to the internet. I have each WAN connection plugged into its own router. Router DD-WRT is gateway for servers (192.0.10.50). Router Tomato is gateway for pc's... (1 Reply)
Discussion started by: herot
1 Replies

3. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

4. Solaris

Network Config on Zone in a Guest LDOM

Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies

5. Solaris

Virtual disks are not showing up in LDom

I have an Oracle VM set up with 1 virtual disk. I am trying to add 2 new disks to it. I was able to successfully add 1 (it appears when I run "format" in the VM) but when I add the second and third disks they do not appear in my VM. Here are the commands I ran: ldm add-vdsdev... (3 Replies)
Discussion started by: unblockable
3 Replies

6. Solaris

Virtual Switch in Solaris LDOM

Hi, Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image. Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch. So, I am not sure how to achieve this because. If I remove the... (7 Replies)
Discussion started by: praveensharma21
7 Replies

7. UNIX for Beginners Questions & Answers

How to create a virtual switch from 2x10g card to 4 Ldoms?

Hello Guys, Can some help me with a configuration from 2x10g cards to 4 Ldoms and a Vlan configuration, Solaris 11 dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE net0 Ethernet up 1000 full ixgbe0 net1 Ethernet ... (2 Replies)
Discussion started by: roly
2 Replies

8. UNIX for Beginners Questions & Answers

Solaris 11 LDOM guest network not working

I'm really stuck here. I've created an LDOM on a SPARC T4-1 with Solaris 11.4 to run a copy of Linux for SPARC. I got the Linux ISO installed and Linux itself installed and booted OK. The only thing is is that there's no networking available in the Linux guest. This question is basically the... (7 Replies)
Discussion started by: Michele31416
7 Replies

9. Solaris

Solaris LDOM IP conflict

I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies
All times are GMT -4. The time now is 02:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy