Results 1 to 2 of 2

Thread: virtual interface on interface eth0

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Beans
    3

    virtual interface on interface eth0

    I create a virtual interface on interface eth0.

    eg. mechine 1 and mechine 2 have ubuntu as OS
    mechine 1:

    # ifconfig eth0:1 172.16.105.1 netmask 255.255.255.0

    and then check - # ping 172.16.105.1
    it will give icmp reply and then i check a port on this virtual interface.

    # nc -vz 172.16.105.1 22
    Connection to 172.16.105.1 22 port [tcp/ssh] succeeded!

    mechine 2:

    # ifconfig eth0:1 172.16.105.1 netmask 255.255.255.0

    and then check - # ping 172.16.105.1
    it will give icmp reply and then i check a port on this virtual interface.

    # nc -vz 172.16.105.1 22
    Connection connection refused.

    SSHD is running on both mechine at their physical interface.

    mechine 2 is working fine. then what is the problem with mechine 1?

    Please reply me soon..
    Last edited by vikas.byn; October 4th, 2011 at 07:52 AM.

  2. #2
    Join Date
    Oct 2011
    Beans
    3

    Re: virtual interface on interface eth0

    how to post new question?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •