<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Configure server with two IP addresses in one NIC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810103#M528952</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that i have one remaining lan interface at my server and i want to connect it through one switch to two different networks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suppose the best solution is to create two different vlans in one NIC with different IPs, but i am new at HP-UX and i don't know how to configure this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The OS version is HP-UX 11.11&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;DIV&gt;Spyros&lt;/DIV&gt;</description>
    <pubDate>Fri, 21 Sep 2012 09:14:24 GMT</pubDate>
    <dc:creator>Spyros_</dc:creator>
    <dc:date>2012-09-21T09:14:24Z</dc:date>
    <item>
      <title>Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810103#M528952</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that i have one remaining lan interface at my server and i want to connect it through one switch to two different networks.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suppose the best solution is to create two different vlans in one NIC with different IPs, but i am new at HP-UX and i don't know how to configure this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The OS version is HP-UX 11.11&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;DIV&gt;Spyros&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Sep 2012 09:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810103#M528952</guid>
      <dc:creator>Spyros_</dc:creator>
      <dc:date>2012-09-21T09:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810161#M528953</link>
      <description>&lt;P&gt;Hello "Spyros_",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more simply way is&amp;nbsp;use&amp;nbsp;"sam" (System Administration Manager)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Logging with root to the server (via vTerm)&lt;/LI&gt;&lt;LI&gt;In command line write sam [Enter];&amp;nbsp;a "menu" will be appear; move with [arrow keys]&lt;/LI&gt;&lt;LI&gt;Go to&amp;nbsp;"&amp;nbsp;Networking and Communications -&amp;gt;" (Enter)&lt;/LI&gt;&lt;LI&gt;Go to "Network Interface Cards" [Enter]&lt;/LI&gt;&lt;LI&gt;Move with [arrow keys], select the Network Interface with [Spacebar]&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;[tab key] for menu access; move to Actions menu with [arrow keys], [Enter]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;Select in the menu "Modify..." move with [arrow keys]; if you will assigned the first IP to the NIC &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;or "Add IP Logical Interface..." move with [arrow keys]; if you will assigned and additional&amp;nbsp;IP to the NIC&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;When you finish, to go back to the previous menu, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;[tab key] for menu access; move to "File" menu with [arrow keys], [Enter], [Exit]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;In the previous menu you have the possibility to add the "Routers" for you additional IP, if required.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;I hope this will help you, usually this acction required "&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;trial and error&lt;/SPAN&gt;&lt;/SPAN&gt;" to obtain the expected result.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class="hps"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hzftk2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 10:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810161#M528953</guid>
      <dc:creator>hzftk2</dc:creator>
      <dc:date>2012-09-21T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810359#M528955</link>
      <description>&lt;P&gt;hello&amp;nbsp;hzftk2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your useful informations.&amp;nbsp;Based on your instruction guide i create two different lans on the same NIC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_ADDRESS[2]=192.168.1.2&lt;BR /&gt;SUBNET_MASK[2]=255.255.255.0&lt;BR /&gt;INTERFACE_NAME[2]=lan2&lt;BR /&gt;BROADCAST_ADDRESS[2]=192.168.1.255&lt;BR /&gt;INTERFACE_STATE[2]=up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_ADDRESS[7]=172.20.8.100&lt;BR /&gt;SUBNET_MASK[7]=255.255.255.0&lt;BR /&gt;INTERFACE_NAME[7]=lan2:1&lt;BR /&gt;BROADCAST_ADDRESS[7]=172.20.8.255&lt;BR /&gt;INTERFACE_STATE[7]=up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i want to sign the first one to vlan 100 and the second one to the 200.&lt;/P&gt;&lt;P&gt;Can you provide me instructions about these?&lt;/P&gt;&lt;P&gt;I have to add and the routes to the destination network?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;waiting your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Spyros_&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810359#M528955</guid>
      <dc:creator>Spyros_</dc:creator>
      <dc:date>2012-09-21T13:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810379#M528956</link>
      <description>&lt;P&gt;I don't think that is going to work.&amp;nbsp; I don't think it is possible to have 1 switch port belong to 2 different VLANS.&amp;nbsp; To the best of my knowledge when you set the VLAN for a port on a switch, it is just one VLAN.&amp;nbsp; If you set the port to a 2nd VLAN, then it now is part of that one, but NOT the first one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also don't&amp;nbsp; think you can have 2 totally different networks assigned to the same lan card on the HP-UX server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you truly need this server to be on 2 differnet networks, then you probably need to invest in a 2nd network card.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 13:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810379#M528956</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-09-21T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810425#M528957</link>
      <description>&lt;P&gt;Dear Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set one port of the switch as trunk port you can pass different vlan traffic from that port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly you can create two sub-interfaces on the same NIC. As you can see in my last reply i attached netconf file from&amp;nbsp;the &lt;SPAN&gt;/etc/rc.config.d and i created&lt;/SPAN&gt;&amp;nbsp; lan2 and lan:1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally my problem is that there is no space to add another network card and all the other lan interfaces are full.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Spyros_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810425#M528957</guid>
      <dc:creator>Spyros_</dc:creator>
      <dc:date>2012-09-21T14:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810483#M528958</link>
      <description>&lt;P&gt;I am no networking expert, so I was not familiar with the trunk port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also had not seen a single NIC with 2 different subnets configured.&amp;nbsp; I have configured 1 NIC with&amp;nbsp; multiple IP's on the same subnet, but never different ones.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the way you have it configured, both on the switch side and the HP-UX side, works for you that is great.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810483#M528958</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-09-21T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810583#M528959</link>
      <description>&lt;P&gt;Patrick:&lt;/P&gt;&lt;P&gt;1) hpux can have as many different subnet as you want defined as vip of the same lan interface.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) vlan is a different notion which means physical isolation of your different traffic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) you can have multiple vip in different subnets on the same vlan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you have different subnet on the same lan/vlan, they&amp;nbsp; need a gateway to be able to communicate.&lt;/P&gt;&lt;P&gt;When you have same subnet on different vlan, they can't communicate except if there is a bridge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vlan means physical isolation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A broadcast (255.255.255.255) will be received by any system on the same vlan whatever be their vlan.&lt;/P&gt;&lt;P&gt;A subnet broadcast will be received by any system on the same subnet on the same vlan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 15:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810583#M528959</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2012-09-21T15:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Configure server with two IP addresses in one NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810853#M528960</link>
      <description>&lt;P&gt;For configuring VLANs in HP-UX 11.11, please see "man 7 vlan" and "man lanadmin".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a nutshell:&lt;/P&gt;&lt;P&gt;To access tagged VLAN(s) through a physical NIC, you must create a virtual NIC for each tagged VLAN and associate it with the physical NIC. (The physical NIC can still be configured as usual for untagged VLAN traffic, or left unconfigured if you only need tagged VLANs.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The virtual NICs will have PPA id 5000 or above, so they will appear as "lan5000" or greater.&lt;/P&gt;&lt;P&gt;For example, to pass tagged traffic for VLAN 1234 through lan0, this command would be used to create the virtual NIC:&lt;/P&gt;&lt;PRE&gt;lanadmin -V create vlanid 1234 vppa 5000 0&lt;/PRE&gt; &lt;P&gt;This command will create a virtual NIC "lan5000", which can then be configured as a normal NIC, but will handle VLAN traffic tagged for VLAN 1234 on physical NIC lan0. You can assign multiple VLAN virtual NICs to a single physical NIC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make the VLAN configuration persist over reboots, you must edit /etc/rc.config.d/vlanconf or use SAM to configure VLANs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can display your existing VLAN configuration with:&lt;/P&gt;&lt;PRE&gt;lanadmin -V scan&lt;/PRE&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 22:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-server-with-two-ip-addresses-in-one-nic/m-p/5810853#M528960</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-09-21T22:52:38Z</dc:date>
    </item>
  </channel>
</rss>

