OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of e111111 »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - e111111

Pages: [1]
1
General Discussion / Opnsense on Truenas VM
« on: February 01, 2021, 05:28:09 pm »
Hello all,

sorry for my poor English ...
I am new here, and I'm coming to seek your help on a subject that I have a little trouble understanding.

First, the context:

On a new machine, devoid of any other installation, I installed Truenas 12, this one configured and working correctly, I created a VM in which I installed Opnsense, which boots well.

I configured all this connected to my network, but without really inserting it in its final location (between the box and the rest of the network) so as not to create a problem for me while the debugging takes place.

On the machine I have 3 network interfaces, this is how they are assigned:

LAN> TRUENAS [igb0] OPNSENSE [em1]
WAN> TRUENAS [em0] OPNSENSE [em0]
LAN2> TRUENAS [ue0] OPNSENSE [em2]

So far everything is fine, even if you have to find your way around the different naming of the same physical interfaces by the two systems.

Where I am wondering, it is on the allocation of IPs, I have a little trouble understanding how to do this, and especially how a physical interface can be addressed by two IPs, here is my current config:

LAN> TRUENAS [192.168.1.42] OPNSENSE [192.168.1.248]
WAN> TRUENAS [192.168.0.253] OPNSENSE [192.168.0.252]
LAN2 not used at the moment, in the future dedicated to IOTs that I have in large numbers

LAN IPs are assigned based on the rest of the current network config.
The web interfaces of Truenas and Opnsense work perfectly with their respective IPs on the LAN interface (TRUENAS [igb0] OPNSENSE [em1]).

For the WAN, I have no error message, but before trying to put this into service I would like to be reassured about my config and understand the miracle of two IPs on the same interface.

I spent a lot of time reading tutorials and other forums to try to understand a little, I only got confused even more with bridges, VLANs and others which I do not get much.

I end by specifying that I have always worked in IT maintenance since the 80s, then as a dev. hardware HMI for 10 years, so I know the PC world quite a bit, but I am not far from being a nozzle in the network field.

If you could enlighten me a bit on how it all works and tell me about any mistakes and how to fix them ...

thank you in advance

2
French - Français / Opnsense dans une VM Truenas
« on: January 31, 2021, 05:46:43 pm »
Bonjour à tous,

je suis nouveau ici, et je viens quérir vos lumières sur un sujet que j'ai un peu de mal à comprendre.

Tout d'abord, le contexte :

Sur une machine neuve, vierge de toute autre installation, j'ai installé Truenas 12, celui-ci configuré et fonctionnant correctement, j'ai créé un VM dans laquelle j'ai installé Opnsense, qui démarre bien.

J'ai configuré tout cela raccordé à mon réseau , mais sans réellement l'intercaler à son emplacement définitif (entre la box et le reste du réseau) afin de ne pas me créer de problème le temps de la mise au point.

Sur la machine, j'ai 3 interfaces réseau, voici comment elles sont attribuées:

LAN   > TRUENAS [igb0]  OPNSENSE [em1]
WAN  > TRUENAS [em0]  OPNSENSE [em0]
LAN2 > TRUENAS [ue0]   OPNSENSE [em2]

Jusque là tout va bien, même s'il faut se repérer dans le nommage différent des mêmes interfaces physiques par les deux systèmes.

Là ou je me pose des questions, c'est sur l'attribution des IP, j'ai un  peu de mal à capter comment faire, et surtout comment une interface physique peut être adressée par deux IP, voici ma config actuelle :

LAN > TRUENAS [192.168.1.42]  OPNSENSE [192.168.1.248]
WAN > TRUENAS [192.168.0.253]  OPNSENSE [192.168.0.252]
LAN2 non utilisé pour le moment, dans le futur dédié aux IOT que j'ai en grand nombre

Les IP LAN sont attribuées en fonction du reste de la config du réseau actuel.
Les interfaces web de Truenas et Opnsense fonctionnent parfaitement avec leurs IP respectives sur l'interface LAN (TRUENAS [igb0]  OPNSENSE [em1]).

Pour le WAN, je n'ai pas de message d'erreur, mais avant de tenter de mettre cela en service j'aimerais être rassuré sur ma config et comprendre se miracle de deux IP sur une même interface.

J'ai passé pas mal de temps à lire des tutos et autres forums pour tenter de comprendre un peu, je n'ai fait que m'embrouiller encore plus avec les bridges, VLAN et autres auxquels je ne capte pas grand chose.

Je termine en précisant que j'ai toujours travaillé dans la maintenance informatique depuis les années 80, puis en tant que dev. hardware IHM depuis 10 ans, je connais donc pas trop mal le monde du PC, mais je ne suis pas loin d'être une buse dans le domaine du réseau.

Si vous pouviez m'éclairer un peu sur le fonctionnement de tout ça et m'indiquer mes éventuelles erreurs et comment y remédier...

Merci d'avance

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2