pfSense Gold Subscription

Author Topic: Ovh Dedicated Server + multiple ip on same network card  (Read 57 times)

0 Members and 1 Guest are viewing this topic.

Offline lolo54000

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Ovh Dedicated Server + multiple ip on same network card
« on: March 20, 2017, 06:00:13 am »
Hi

I use pfsense on a dedicated server from ovh. it work fine.
I want to add another ip to my first network card to do 1:1 Nat.
I add an virtual ip (ip alias)

when i do an ifconfig for my ix0 ethernet card i have
   inet 149.x.x.x netmask 0xffffff00 broadcast 149.x.x.x
   inet 178.x.x.x netmask 0xffffffff broadcast 178.x.x.x

where 149.x.x.x is the ip of my server who work fine (i can ping it and do rules ....)
and 178.x.x.x is my second ip

when i test to ping my second ip(178.x.x.x) i have no answer.
i create a 1:1 rules to transfer this ip to my internal server but it dont work.

What is the problem?
somebody can help me?
best regards.

Lolo

Online viragomann

  • Hero Member
  • *****
  • Posts: 1906
  • Karma: +193/-0
    • View Profile
Re: Ovh Dedicated Server + multiple ip on same network card
« Reply #1 on: March 20, 2017, 04:38:32 pm »
Have you also added a firewall rule to WAN to permit the access?

Offline lolo54000

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Ovh Dedicated Server + multiple ip on same network card
« Reply #2 on: March 22, 2017, 10:40:44 am »
Hi

I have find the problem
I contact the ovh support.
when I configure the ip on ovh manager I have a mac adress define for this ip (before I use this ip for a virtual machine) .
and if and mac adress is define I can't use it to connect directly from a physical server.
when I delete the mac adress I can ping it with no problem  :)

Lolo