Solved Additional STATIC IP's in rc.conf not working since provider switch to ARP-Networks (New Setup)

StreetDancer

Active Member

Reaction score: 1
Messages: 163

I do not know if anyone uses ARP-Networks for their FreeBSD VPS. I just switched and my old host used several virtual adapters for each assigned static ip. With ARP-Networks; I am assigned a block; however adding a secondary line doesn't seem to work. For example:

excerpt from rc.conf: (My main Static IP that works w/ internet)
Code:
ifconfig_vtnet0="inet 206.162.240.66 netmask 255.255.255.244"
defaultrouter="206.162.240.65"
Then when I tried to mirror what I had existing from my previous host and it's backed up rc.conf

I added the following lines to this one:

Code:
ifconfig_vtnet0_1="206.162.240.67 netmask 255.255.255.244"

static_routes="gw1"
route_gw1="-net 206.162.240.0/24 206.162.240.65"
Which didn't work ... Then I tried:


Code:
ifconfig_vtnet1="206.162.240.67 netmask 255.255.255.244"

static_routes="gw1"
route_gw1="-net 206.162.240.0/24 206.162.240.65"
Which also didn't work! I sent an e-mail to support; I just didn't know if anyone on here uses them as a Host Provider. They got me up and running very fast and I am quite pleased so far!

If anyone could point me in the right direction as to how to add that sub-sequential static IP to the rc.conf and for it to work; I would be greatly appreciated!

Happy 4th of July to all of us Americans!

Best Regards,

Brandon
 
OP
StreetDancer

StreetDancer

Active Member

Reaction score: 1
Messages: 163

This was solved with assistance from ARPNetworks!

Here is an exerpt of my rc.conf that got me off and sailing: (Showing the 1st Static IP) *My initial Main one* and then 1 additional statics using the same route.

Code:
hostname="server1.hostdomain.com"
ifconfig_vtnet0="inet 206.162.240.66 netmask 255.255.255.224"

ifconfig_vtnet0_alias1="inet 206.162.240.67 netmask 255.255.255.224"
Best Regards,

Brandon Kastning
streetdancer
 
Top