Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-17-2012, 08:36 PM
|
#1
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Rep: 
|
1 segment, 2 ips , 1gateway, no connection
I have 1 segment, on which I am trying to set up oracle rac. On this segment, I have two public ip's, which both need to be activated on this one segment for my two oracle guest to communicate. I also have 1 gateway on this segment, 2vip ip's. When i set up the first guest ( guest a ), I can connect via telnet, ssh, putty Vic , etc. however I cannot get to the second guest , and in fact I cannot get the network to see it.
I have only 1nic on our z/vm... My etc/hosts is correct, my /etc/sysconfig/network looks right, and my .../ifcfg-eth0 looks ok... I think. But I obviously have something wrong.
To complicate things, I am doing this with zlinux, on z/vm (mainframe).
For a config like this do I 'need' 2 nics?
I have no idea what to look for after a week of reading, and testing !
Any help is greatly appreciated.
Thanks!
|
|
|
08-17-2012, 09:23 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Your description to me if very unclear.
Can you please use actual IPs, including the relation between
z/VM as a gateway, and what exactly you mean with public IPs?
Surely your Oracle guests aren't sitting on the great unwashed
internet?
Cheers,
Tink
|
|
|
08-20-2012, 06:57 AM
|
#3
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
SOrry for being vague, I was away from the office....
Here is the set up from guest "ip ...108":
[root@acpic-s2434 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
# public
192.168.25.108 acpic-s2434.rcmp-grc.gc.ca acpic-s2434
#192.168.25.109 acpic-s2435.rcmp-grc.gc.ca acpic-s2435
# VIP
192.168.25.111 acpic-s2434-vip.rcmp-grc.gc.ca acpic-s2434
#192.168.25.112 acpic-s2435-vip.rcmp-grc.gc.ca acpic-s2435
# private
192.168.64.201 acpic-s2434-ocfs.rcmp-grc.gc.ca acpic-s2434
192.168.64.202 acpic-s2435-ocfs.rcmp-grc.gc.ca acpic-s2435
[root@acpic-s2434 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=acpic-s2434.rcmp-grc.gc.ca
GATEWAY=192.168.25.97
[root@acpic-s2434 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# IBM QETH
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.25.108
NETMASK=255.255.255.224
NETTYPE=qeth
ONBOOT=yes
OPTIONS="layer2=1"
SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602
[root@acpic-s2434 ~]#
Here is the set up from guest ip ...109:
[root@acpic-s2435 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
# public
#192.168.25.108 acpic-s2434.rcmp-grc.gc.ca acpic-s2434
192.168.25.109 acpic-s2435.rcmp-grc.gc.ca acpic-s2435
# VIP
#192.168.25.111 acpic-s2434-vip.rcmp-grc.gc.ca acpic-s2434
192.168.25.112 acpic-s2435-vip.rcmp-grc.gc.ca acpic-s2435
# private
192.168.64.201 acpic-s2434-ocfs.rcmp-grc.gc.ca acpic-s2434
192.168.64.202 acpic-s2435-ocfs.rcmp-grc.gc.ca acpic-s2435
[root@acpic-s2435 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=acpic-s2435.rcmp-grc.gc.ca
GATEWAY=192.168.25.97
[root@acpic-s2435 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# IBM QETH
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.25.109
NETMASK=255.255.255.224
NETTYPE=qeth
ONBOOT=yes
OPTIONS="layer2=1"
SUBCHANNELS=0.0.0600,0.0.0601,0.0.0602
[root@acpic-s2434 ~]#
both of these ip's are on the same segment, and share one gateway :
192.168.25.96
192.168.25.97 acpic-r29-r28-v477.z.rcmp-grc.gc.ca [ default ]
192.168.25.98 acpic-r29-v477.z.rcmp-grc.gc.ca [ default ]
192.168.25.99 acpic-r28-v477.z.rcmp-grc.gc.ca [ default ]
192.168.25.100
192.168.25.101
192.168.25.102
192.168.25.103
192.168.25.104
192.168.25.105 acpic-s247-scan.rcmp-grc.gc.ca [ default ] Oracle Scan
192.168.25.106 acpic-s247-scan.rcmp-grc.gc.ca [ default ] Oracle Scan
192.168.25.107 acpic-s247-scan.rcmp-grc.gc.ca [ default ] Oracle Scan
192.168.25.108 acpic-s2434.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
192.168.25.109 acpic-s2435.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
192.168.25.110 acpic-s2436.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
192.168.25.111 acpic-s2434-vip.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
192.168.25.112 acpic-s2435-vip.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
192.168.25.113 acpic-s2436-vip.rcmp-grc.gc.ca [ default ] Oracle Common Cluster
I can get ...109 to start up and I can telnet, ssh, and vnc into my guest and do wahtever, but, ...109 will start, and I cannot get into my guest via ssh telnet or vnc. infact the network does not even know the guest is up. I can not ping anything from ...109, and from ...108, I cannot ping ...109.
the idea is that both IP's should be active, and accessible in one segment. They should be able to communicate via the private IP.
I can't figure out whats wron with my setup. any help is appreciated.
Thanks
Mike
Last edited by Mike1morris; 08-21-2012 at 06:54 AM.
|
|
|
08-20-2012, 09:33 AM
|
#4
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
bump
|
|
|
08-20-2012, 03:25 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
I may be stating the obvious, but ... from the hosts file / shared list
192.168.25.108 acpic-s2434
From it's eth0:
192.168.25.109
You think that might be the problem? The guests seem to have the same name, btw...
Last edited by Tinkster; 08-20-2012 at 03:27 PM.
|
|
|
08-21-2012, 07:00 AM
|
#6
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
I edited / fixed my last post.
I had copied and pasted the first display and tried to finger poke it , since the guest setups are so similar.
So no the names are not the problem in my envionments, only in this post.
|
|
|
08-21-2012, 02:23 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Hmmm ... do you have access to the setup on the zVM side? Total
failure of networking in my experience is usually caused by a wrong
definition on the zVM side (or a wrong default GW on the guest side).
Cheers,
Tink
|
|
|
08-22-2012, 07:40 AM
|
#8
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
This is the setup on the z/vm side. the linux guest names mentioned above relate to csdv1 and 2 ( acpic-s2434 = csdv1, acpic-s2435 = csdv2 ), this is just the way z/vm works...
From this configuration, csdv1 works fine, what I mean by that is that I can connect via telnet, ssh, putty, vnc ,etc. I can also ping outside the guest . CSDV2 however, I can build and access via a back door, but I cannot telnet, ssh, putty or anything into the guest. CSDV2 is also not being seen by the network, hence I cannot ping anything at all from this guest, not even the other guest in the segment, or the gateway.
Yesterday I built the third guest csdv3, and it has the same issue as csdv2.
MODIFY PORT GROUP DEVETH00 JOIN 0280.P0 0290.P1
DEFINE VSWITCH VSWITCHT ETHERNET GROUP DEVETH00 ,
RDEV 02A0.P0 02B0.P1 ,
VLAN 1067 PORTTYPE ACCESS NATIVE 1
MODIFY VSWITCH VSWITCHT MACID F30010
MODIFY VSWITCH VSWITCHT GRANT LINUX0
MODIFY VSWITCH VSWITCHT GRANT LINUX1
MODIFY VSWITCH VSWITCHT GRANT IIDV
MODIFY VSWITCH VSWITCHT GRANT IIGDV
MODIFY VSWITCH VSWITCHT GRANT CSDV1 PORTT TRUNK VLAN 477 158
MODIFY VSWITCH VSWITCHT GRANT CSDV2 PORTT TRUNK VLAN 477 158
MODIFY VSWITCH VSWITCHT GRANT CSDV3 PORTT TRUNK VLAN 477 158
Mike
|
|
|
All times are GMT -5. The time now is 09:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|