Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to connect directly through Ethernet between OPNsense device and a laptop
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to connect directly through Ethernet between OPNsense device and a laptop (Read 348 times)
randBlock553
Newbie
Posts: 2
Karma: 0
Unable to connect directly through Ethernet between OPNsense device and a laptop
«
on:
September 03, 2024, 04:57:14 pm »
I have installed OPNsense on my firewall device, it successfully boots up and I can see below config shown:
LAN (igc0) -> v4: 192.18.1.1/24
v6: ipv6 stuff
WAN (igc1) -> v4/DHCP4: <externalIP>
-> v6 ipv6 stuff
Now after this setup, I have connected an ethernet cable between my opnsense device and a laptop.
The laptop I'm running is arch linux with network manager. Here is my ethernet connection setup config:
IPv6: Disabled
IPv4: Manual
- Address: 192.168.1.3
- Netmask: 24
- Gateway: 192.168.1.1
- DNS Servers: 192.168.1.1
Now if I click on 'Connect', it goes and connects successfully:
~ ip a
eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <8c:8c:aa....
altname enp3s0
inet: 192.168.1.3/24 brd 192.168.1.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
However, when I go and try to ping the opnsense box, it is unreachable
. From the OPNsense box, if I select option 7) Ping host, and try to ping google.com it works, but when I try to ping my laptop I get 'ping: sendto: Network is down.
I am trying to do it because I need to access OPNsense dashboard from my laptop. Could someone please help me resolve this connection issue?
Just to add, I am running latest 24.7.3_1 version of OPN sense
Logged
meyergru
Hero Member
Posts: 1710
Karma: 167
IT Aficionado
Re: Unable to connect directly through Ethernet between OPNsense device and a laptop
«
Reply #1 on:
September 03, 2024, 05:41:38 pm »
Quote from: randBlock553 on September 03, 2024, 04:57:14 pm
LAN (igc0) -> v4: 192.
18
.1.1/24
If this was not a typo only in your post, then maybe you confused igc0 and igc1? Sometimes, their locations are not all that obvious.
«
Last Edit: September 03, 2024, 05:43:51 pm by meyergru
»
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
randBlock553
Newbie
Posts: 2
Karma: 0
Re: Unable to connect directly through Ethernet between OPNsense device and a laptop
«
Reply #2 on:
September 03, 2024, 05:55:53 pm »
Thanks ! Yes I was struggling for the last few hours. It was the interface issue. I had my cable connected the other way round, so (laptop) ethernet to WAN and (modem) ethernet to LAN, it must be opposite. So so what did is:
1. Disconnect all ethernet cables from opnsense box
2. Started 'assign interfaces' and then went with automatic method so you just plug in one by one when it tells you
3. Lan is shown as igc1 (3rd port)
4. Wan is shown as igc0 (4th port) (very far right)
now it works ! cheers
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to connect directly through Ethernet between OPNsense device and a laptop