External Network Connectivity w/Oracle VM Server for SPARC & Solaris 11
Hello all, thanks for reading my question:
So I've been a Unix/Linux SysAdmin for a couple years, and I'm a bit over my head running solo, trying to set up LDoms using Oracle VM Server 3.1 for SPARC. I've been very careful, and things have gone well up until the point I try to access the new virtual machines from the regular network.
I found the section in the Oracle VM Server 3.1 for SPARC Administration Manual that talks about enabling external connectivity, however it's very vague, and provides no examples. (it won't let me post a link to it from here yet - sorry) I did my best to follow the instructions, but I'm having zero luck getting from the virtual machine to the rest of my network and vice versa.
Can anyone help with where I can find an example of getting this to work? I feel like I've looked everywhere. Everything I've tried isn't working. Here's what I have so far:
1) I have the physical machine (primary domain) connected just fine to my network, no issues connecting, etc. The primary physical NIC is setup on net0. It has an IP address.
2) I created an etherstub (stub0) exactly as mentioned in step 1 of the manual
3) I created a virtual switch (primary-stub-vsw0) on the etherstub (exactly as depicted in step 2)
4) I created a virtual NIC (vnic0) on the etherstub (exactly like step 3)
5) I configured vnic0 and gave it a private IP address not in use anywhere on my network (similar to step 4, but I used 192.168.3.2 for the IP)
ipadm shows the following:
dladm shows the following:
and the network sections of ldm list-bindings shows:
6) I turned on packet forwarding globally. Results of ipadm show-prop -p forwarding ip:
7) I set up some NAT rules to forward all packets from the vnic0 to net0. Content of /etc/ipf/ipnat.conf:
...and output of ipnat -l:
8) on my LDom (test1), I set up the NIC and gave it an IP address in the schema of our network. Output of ipadm on the LDom is as follows:
dladm shows:
9) I setup a default route on the LDom with route -p add default 10.12.20.1
netstat -nr shows:
...but despite all this, I can't go anywhere or do anything. I can't ping the primary domain from the LDOM, I can't ping the LDOM from the primary domain, etc.
Does anyone have any insight? I would greatly appreciate the assist. Been stuck at this spot for over a week now.
Thanks in advance!
-Lyxix
Last edited by Corona688; 08-12-2014 at 04:41 PM..
Wow!! Firstly, thanks for providing comprehensive information; it's usually what's missing from complex issues on the forums. So 10 out of 10 for that.
The first thing that comes to mind is that Solaris 11 is a world away from Solaris 10 (and earlier) with regard to network setup. So are you sure that the documentation that you've been following is for Solaris 11?
I'll take time to study the information you've posted.
Thanks for the reply. The documentation from Oracle is very specific as to what steps apply to Sol11, and which apply to Sol10. I have definitely been following the Sol11 steps. My steps include the use of ipadm and dladm, which are exclusive to Sol11. Thanks for the suggestion, though. I hope you get a chance to study my issue and can provide some insight. I'm definitely stuck - no idea what else to try.
There's only 1 VM right now, I simply named it "test". I have to get the test working before I start virtualizing my old systems.
Steps 8 and 9 refer to the setting up of the virtual network on the "test" LDom.
10.12.20 and 10.10.20 are both subnets on our internal network. 192.168.3 is a subnet I used for the Virtual NIC on the primary domain because the manual said to use a private subnet that is not in use anywhere else on the network. That is not in use anywhere else on the network. I just picked the first IP (didn't want to use .1 because that would theoretically be for a router I imagine - my networking skills are limited).
Does that answer your questions? My guess is I don't understand something with the subnets or IP's or whatnot and that's the problem, but I have no idea what. If I didn't put it in my steps, I probably didn't do it.
Haven't made any progress, unfortunately. Does anybody have any ideas that can help out? I'm not sure why this is so difficult, but I'm not having any luck.
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info ... (4 Replies)
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info... (1 Reply)
Hello,
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine.
please help me where i am... (8 Replies)
My Sparc servers disappeared in my last move. I found my Sparc software in the basement yesterday, Solaris 9 9/04 Operating Environment, Java Enterprise System, Accessory Software, and License are all sealed, box is opened. Also have Solaris 10 but in opened sleeves with Sun Office for Sparc. ... (2 Replies)
Hi All,
I am new here - this is my first post.
I have installed Solaris 10 5/09 on my Dell M6300. The install went well, but the Dell's onboard network card is the Broadcom BCM5756ME Gigabit Ethernet - and sadly no Solaris driver exists for it. The Solaris 10 install just jumped by the... (1 Reply)
Hi-
I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform.
I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS
The first machine... (3 Replies)
hi expert,
i had reinstall the sun v890 server solaris 8 and also do mirroring, i had configure the network for the server (hostname.eri0,hosts,netmasks,nodename,etc) after i reboot get and error messages below :
Setting default IPv4 interface for multicast: add net 224.0/4: gateway... (5 Replies)
Hi,
I have my application and database servers running on solaris. I need to check Db connectivity for a datasource in my Db server.
Please guide me how to do it in solaris env.
Aru (2 Replies)