The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

location eth0 help me???

Discussion in 'General Discussion' started by wangtenet, Nov 12, 2005.

  1. wangtenet

    wangtenet Member

    Joined:
    Oct 18, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Sorry I'm new user.. i want put the second Ip inside eth0 .. so can u explain to me .. where the file location inside my server.. thanks...
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You add additional IP addresses using WHM > IP Functions > Add a New IP Address
     
  3. khh

    khh Member

    Joined:
    Nov 10, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    ifconfig eth0:1 IP netmask NETMASK

    example:

    /sbin/ifconfig eth0:1 192.168.1.2 netmask 255.255.255.0
    /sbin/ifconfig eth0:2 193.58.32.43 netmask 255.255.254.0

    so, you will have 3 ips eth0, eth0:1 and eth0:2

    regards :- )

    Heinz
     
Loading...

Share This Page