Find the answer to your Linux question:
Results 1 to 2 of 2
I want to have several real ip's on server. My ISP game me 5. 195.14.181.153 195.14.181.154 195.14.181.155 195.14.181.156 195.14.181.157 /etc/conf.d/net looks like this: config_eth0=( "192.168.1.77 netmask 255.255.255.0 brd 192.168.1.255" "195.14.180.153 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    3

    Several ip's on server, vhosts


    I want to have several real ip's on server. My ISP game me 5.

    195.14.181.153
    195.14.181.154
    195.14.181.155
    195.14.181.156
    195.14.181.157

    /etc/conf.d/net looks like this:

    config_eth0=(
    "192.168.1.77 netmask 255.255.255.0 brd 192.168.1.255"
    "195.14.180.153 netmaks 255.255.255.248 brd 195.14.181.159"
    "195.14.181.154 netmaks 255.255.255.248 brd 195.14.181.159"
    "195.14.181.155 netmaks 255.255.255.248 brd 195.14.181.159"
    "195.14.181.156 netmaks 255.255.255.248 brd 195.14.181.159"
    "195.14.181.157 netmaks 255.255.255.248 brd 195.14.181.159"

    )

    routes_eth0=(
    "default gw 192.168.1.253"
    "default gw 195.14.181.158"
    )


    Now I have pointet some subdomains to those ip's.

    aaa.domain.com A 195.14.181.153
    bbb.domain.com A 195.14.181.154
    ccc.domain.com A 195.14.181.155
    ddd.domain.com A 195.14.181.156
    eee.domain.com A 195.14.181.157



    Question1: How to add more real ip's to server?

    Question2: when i connect anywhere from server, there's always 195.14.180.153 (e.g. with psybnc to irc). When I say to use 195.14.181.154-157, it still uses 195.14.181.153...

    Question3: How to make, thar when I'm using 195.14.181.153 on irc, users would see aaa.domain.com (ask IPS for a reverse)?

  2. #2
    Just Joined!
    Join Date
    May 2006
    Location
    Aberystwyth, UK
    Posts
    1
    > Question1: How to add more real ip's to server?

    You have, ifconfig will create aliases for each address specified in eth=()

    > Question2: when i connect anywhere from server, there's always 195.14.180.153 (e.g. with psybnc to irc). When I say to use 195.14.181.154-157, it still uses 195.14.181.153...

    What kind of network connection are you on - direct connection to the net or are you behind a router etc?

    Can you access the new addresses from the outside?

    It is ususally possible to tell your irc bouncer to bind to a specific address. If left to bind to the default it takes the first address the adaptor on that route out has.

    I'm not to sure on the specifics of psybnc.

    > Question3: How to make, thar when I'm using 195.14.181.153 on irc, users would see aaa.domain.com (ask IPS for a reverse)?

    Does the nameserver you have for the domains have reverse dns information setup?

Posting Permissions

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