Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
2nd LAN interface issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: 2nd LAN interface issue (Read 3117 times)
Daemotrix
Newbie
Posts: 15
Karma: 0
2nd LAN interface issue
«
on:
November 30, 2019, 09:13:43 pm »
Hi,
I have a problem. My FW is running on one builtin NIC system (assigned for WAN) so I'm using USB LAN adapter (assigned for LAN) and I need to add one more USB NIC. 1st is configured as
IP address 192.168.1.1/30 so the other side (WiFi router) has IP 192.168.1.2 and connection works perfectly. But if I connect 2nd adapter so I set 192.168.1.4 and the other side 192.168.1.5, so connection stops working on both interfaces and I'm unable to access to the internet. Can you anybody help me please, ho I must configure that interfaces correctly?
Logged
Sirius1
Newbie
Posts: 20
Karma: 1
Re: 2nd LAN interface issue
«
Reply #1 on:
November 30, 2019, 11:23:33 pm »
Assuming you are also using another /30, your 2 hosts should be
.5 and .6.
Broadcast address will be .7.
The .4 is the next available subnet.
Logged
Daemotrix
Newbie
Posts: 15
Karma: 0
Re: 2nd LAN interface issue
«
Reply #2 on:
December 01, 2019, 08:40:03 pm »
I tried .5 with mask /27 but still without success
Logged
Sirius1
Newbie
Posts: 20
Karma: 1
Re: 2nd LAN interface issue
«
Reply #3 on:
December 01, 2019, 11:54:37 pm »
I think you're complicating the issue by trying to use the 'sequential' addresses you're using, and mixing masking.
A '.5' address with a /27 mask is going to assume that everything from .1 to .30 is part of the same subnet. Your masking and subnets are then overlapping. You'd probably be much better off using a different network range and mask for your new interface.
Your options are: 1) choose a different network like 192.168.2.0 with whatever masking you want, or 2) need to go to 192.168.1.33/27 which would be the next valid IP to use with a /27 and keeping your 192.168.1.x addressing.
If you are trying to do a more complex setup, you need to have a better grasp of IP addressing and masking. Use an online calculator to show you valid addressing with each subnet mask. Something like
https://dnsmadeeasy.com/support/subnet/
«
Last Edit: December 02, 2019, 12:09:09 am by Sirius1
»
Logged
Daemotrix
Newbie
Posts: 15
Karma: 0
Re: 2nd LAN interface issue
«
Reply #4 on:
December 02, 2019, 09:14:58 am »
Okay I try to use .2.0 network thanks a lot.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
2nd LAN interface issue