<?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 Re: multi homing a single nic in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489073#M90508</link>
    <description>if not resolved yet: &lt;BR /&gt;try assigning your second IP in the routing table:&lt;BR /&gt;route add &lt;YOUR-IP&gt; netmask 255.255.255.255 up&lt;BR /&gt;that should speed thigs up&lt;BR /&gt;&lt;/YOUR-IP&gt;</description>
    <pubDate>Thu, 15 Mar 2001 11:18:44 GMT</pubDate>
    <dc:creator>Dan Am</dc:creator>
    <dc:date>2001-03-15T11:18:44Z</dc:date>
    <item>
      <title>multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489068#M90503</link>
      <description>Am I missing something, or does Linux truly lack a normal feature such as is available in HP-UX to assign multiple IP addresses to one physical NIC?  I've been around the bush on this umpteen times and haven't been able to resolve it to my satisfaction. I've been using RedHat 6.2 and Mandrake 7.0 . I can make multiple NICs work just fine, but I really need to be able to address one with more than one address. Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 01 Feb 2001 20:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489068#M90503</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-02-01T20:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489069#M90504</link>
      <description>Well, It is relativly Easy&lt;BR /&gt;in the directory:  /etc/sysconfig/network-scripts&lt;BR /&gt;&lt;BR /&gt;You have a file: &lt;BR /&gt;ifcfg-eth0     (depends on which card you want to alias)&lt;BR /&gt;&lt;BR /&gt;copy this to the file:&lt;BR /&gt;ifcfg-eth0:0&lt;BR /&gt;&lt;BR /&gt;Now edit this file with your other network settings, and you should then be able to bring the pseudo interface up with:&lt;BR /&gt;&lt;BR /&gt;ifconfig eth0:0 up  (or restart the network service)&lt;BR /&gt;&lt;BR /&gt;voila ..</description>
      <pubDate>Tue, 20 Feb 2001 08:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489069#M90504</guid>
      <dc:creator>Adrian Snyman</dc:creator>
      <dc:date>2001-02-20T08:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489070#M90505</link>
      <description>I tried your approach, but it yields an error about how it can't assign the IP address. I expect I've yet got something in the configuration file hosed up?  Here's the contents of the eth0:0 file:&lt;BR /&gt;&lt;BR /&gt;#: cat ifcfg-eth0:0&lt;BR /&gt;DEVICE="eth0"&lt;BR /&gt;BOOTPROTO="none"&lt;BR /&gt;IPADDR="192.168.1.8"&lt;BR /&gt;NETMASK="255.255.255.0"&lt;BR /&gt;ONBOOT="yes"&lt;BR /&gt;IPXNETNUM_802_2=""&lt;BR /&gt;IPXPRIMARY_802_2="no"&lt;BR /&gt;IPXACTIVE_802_2="no"&lt;BR /&gt;IPXNETNUM_802_3=""&lt;BR /&gt;IPXPRIMARY_802_3="no"&lt;BR /&gt;IPXACTIVE_802_3="no"&lt;BR /&gt;IPXNETNUM_ETHERII=""&lt;BR /&gt;IPXPRIMARY_ETHERII="no"&lt;BR /&gt;IPXACTIVE_ETHERII="no"&lt;BR /&gt;IPXNETNUM_SNAP=""&lt;BR /&gt;IPXPRIMARY_SNAP="no"&lt;BR /&gt;IPXACTIVE_SNAP="no"&lt;BR /&gt;#:&lt;BR /&gt;&lt;BR /&gt;The error was received even after stopping and restarting networking.</description>
      <pubDate>Sat, 24 Feb 2001 00:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489070#M90505</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-02-24T00:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489071#M90506</link>
      <description>It is possible that you do not have 'IP aliasing' enabled in the kernel, although I believe it to be standard in RH and Mandrake.&lt;BR /&gt;&lt;BR /&gt;Try doing it from the command line and report your error:&lt;BR /&gt;&lt;BR /&gt;ifconfig eth0:0 192.168.5.5 netmask x.x.x.x up&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Feb 2001 13:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489071#M90506</guid>
      <dc:creator>Jack Baruth</dc:creator>
      <dc:date>2001-02-27T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489072#M90507</link>
      <description>Jack, we're getting closer. Thanks for your post.  Issued the command and got no error messages: &lt;BR /&gt;# ifconfig eth0:0 192.168.1.8 netmask 255.255.255.0 up&lt;BR /&gt;# &lt;BR /&gt;Then to check: &lt;BR /&gt;# ifconfig&lt;BR /&gt;eth0      Link encap:Ethernet  HWaddr 00:A0:B9:35:79:01&lt;BR /&gt;          inet addr:206.42.138.8  Bcast:206.42.138.255  Mask:255.255.255.0&lt;BR /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;BR /&gt;          RX packets:3499620 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:453836 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:56 txqueuelen:100&lt;BR /&gt;          Interrupt:11 Base address:0x6000&lt;BR /&gt;&lt;BR /&gt;eth0:0    Link encap:Ethernet  HWaddr 00:A0:B9:35:79:01&lt;BR /&gt;          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0&lt;BR /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;BR /&gt;          Interrupt:11 Base address:0x6000&lt;BR /&gt;&lt;BR /&gt;lo        Link encap:Local Loopback&lt;BR /&gt;          inet addr:127.0.0.1  Mask:255.0.0.0&lt;BR /&gt;          UP LOOPBACK RUNNING  MTU:3924  Metric:1&lt;BR /&gt;          RX packets:69 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:0&lt;BR /&gt;And then testing from another workstation:&lt;BR /&gt;# ping 192.168.1.8 PING 192.168.1.8: 64 byte packets&lt;BR /&gt;64 bytes from 192.168.1.8: icmp_seq=0. time=1. ms&lt;BR /&gt;64 bytes from 192.168.1.8: icmp_seq=1. time=0. ms&lt;BR /&gt;64 bytes from 192.168.1.8: icmp_seq=2. time=0. ms&lt;BR /&gt;But the computer itself is REALLLLLY slow to ping itself:&lt;BR /&gt;&lt;BR /&gt;# ping 192.168.1.8 PING 192.168.1.8 (192.168.1.8) from 192.168.1.8 : 56(84) bytes of data.&lt;BR /&gt;64 bytes from 192.168.1.8: icmp_seq=0 ttl=255 time=0.1 ms&lt;BR /&gt;64 bytes from 192.168.1.8: icmp_seq=1 ttl=255 time=3526.6 ms&lt;BR /&gt;&lt;BR /&gt;so I expect I've still gotten something wrong in the configuration somewhere. I checked the routing tables:&lt;BR /&gt;[root@linux2 markf]# netstat -rn&lt;BR /&gt;Kernel IP routing table&lt;BR /&gt;Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface&lt;BR /&gt;206.42.138.8    0.0.0.0         255.255.255.255 UH        0 0          0 eth0&lt;BR /&gt;192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0&lt;BR /&gt;206.42.138.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0&lt;BR /&gt;127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo&lt;BR /&gt;0.0.0.0         206.42.138.1  0.0.0.0         UG        0 0          0 eth0&lt;BR /&gt;Which looks OK to me.... Further ideas?&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Feb 2001 19:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489072#M90507</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-02-27T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489073#M90508</link>
      <description>if not resolved yet: &lt;BR /&gt;try assigning your second IP in the routing table:&lt;BR /&gt;route add &lt;YOUR-IP&gt; netmask 255.255.255.255 up&lt;BR /&gt;that should speed thigs up&lt;BR /&gt;&lt;/YOUR-IP&gt;</description>
      <pubDate>Thu, 15 Mar 2001 11:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489073#M90508</guid>
      <dc:creator>Dan Am</dc:creator>
      <dc:date>2001-03-15T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: multi homing a single nic</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489074#M90509</link>
      <description>Thank you all for your assistance. The issue was resolved by assigning the eth0:0 alias, and then adding the new aliased address to the machine's host file. Alll now seems normal. Again, thank you all for your assistance.</description>
      <pubDate>Fri, 16 Mar 2001 19:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multi-homing-a-single-nic/m-p/2489074#M90509</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-03-16T19:16:36Z</dc:date>
    </item>
  </channel>
</rss>

