Current time: 05-18-2022, 11:39 PM Hello There, Guest! (LoginRegister)


Post Reply 
Multiple IPs for reseller problem
Author Message
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #1
Multiple IPs for reseller problem
I have a block of 5 ips xx.xx.201.61 - xx.xx.201.65

Ubuntu 11.10 and ISP 1.07

When i loginto Ubuntu i see my primary ip on eth0 and 2 other ones that ive configured on virtual interfaces of eth0:2 and eth0:3

Usage of /: 1.4% of 915.63GB IP address for eth0: xx.xx.201.61
Memory usage: 5% IP address for eth0:2: xx.xx.201.62
Swap usage: 0% IP address for eth0:3: xx.xx.201.63

so thats all good and my interfaces contents are :
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
        address xx.xx.201.61
        netmask 255.255.255.0
        network xx.xx.201.0
        broadcast xx.xx.201.255
        gateway xx.xx.201.1


so in the reseller interface the 2nd ips are indeed listed on eth0 and i can ping all the addresses on the local box so thats great. My problem is i can't reach the .62 and .63 from the outside. I have no firewall and the box is sitting right on the internet connected to the cable modem.

The websites on the virtual interfaces are not reachable, I can't even ping these ip adddresses. I can ping xx.xx.201.61 and all websites on that ip work fine. However, pinging xx.xx.201.62 and xx.xx.201.63 fail.

ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:13:72:fc:87:7b
          inet addr:xx.xx.201.61  Bcast:xx.xx.201.255  Mask:255.255.255.0
          inet6 addr: fe80::213:72ff:fefc:877b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:59773 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4414428 (4.4 MB)  TX bytes:1531864 (1.5 MB)
          Interrupt:16

eth0:2    Link encap:Ethernet  HWaddr 00:13:72:fc:87:7b
          inet addr:xx.xx.201.62  Bcast:xx.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16

eth0:3    Link encap:Ethernet  HWaddr 00:13:72:fc:87:7b
          inet addr:xx.xx.201.63  Bcast:xx.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1044 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1044 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:140618 (140.6 KB)  TX bytes:140618 (140.6 KB)

can anyone lend any thoughts about how to get these websites working? One thing I noticed on the virtual interfaces is that the netmask is xx.255.255.255 and the mask is 255.255.255.255 and I was expecting it to be 255.255.255.0,since I'm using a /24 but i'm no expert. I am using these alternate ip addresses for SSL Certificates so if you were wondering Tongue

Thanks a lot guys!

David
(This post was last modified: 01-18-2012 07:03 PM by ShinZan.)
01-18-2012 07:00 PM
Find all posts by this user Quote this message in a reply
ShinZan Offline
Junior Member
*

Posts: 43
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Multiple IPs for reseller problem
Well this seems to work and then sometimes it doesn't work now im very confused. I regenerated my config files while working to solve a problem with fcgi and now my 62 static ip address is not reachable from the outside.

Can anyone lend any thoughts?

David
02-14-2012 03:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)