cannot get a lan connection
-
I bought a cwwk s 7 pro it has a dual Intel x 550 Ethernet port.
I can get a WAN dhcp on one of these x550, ping in console works.
But I cannot get a LAN connection at all. On both x 550 Ethernet ports the lights on either side flash green for both WAN and LAN. During setup as seen by the attached picture all Ethernet ports are recognised. What can I do. I am using pfsense 2.7.2 as I tried 2.8.1 but during setup it states it cannot reach netgate servers.
I tried different cables - no difference.
-
@Waqar.UK I believe the answer is in your screenshot.
"Configuration references interfaces that do not exist: em0 em1"
You would need to click "assign interfaces" and set up for the interfaces you want to use.
-
I tried that. WAN is recognised but LAN is not.
-
@Waqar.UK said in cannot get a lan connection:
I tried that. WAN is recognised but LAN is not.
Which interface have you configured for what at the moment? ix1 for WAN and ix0 for LAN?
To what is the pfSense LAN port connected to and what port speed does that thing (computer or switch?) support?
-
@patient0 said in cannot get a lan connection:
Which interface have you configured for what at the moment? ix1 for WAN and ix0 for LAN?
To what is the pfSense LAN port connected to and what port speed does that thing (computer or switch?) support?
ix1 for WAN
pfSense LAN port connected to laptop ethernet port.
-
@Waqar.UK said in cannot get a lan connection:
pfSense LAN port connected to laptop ethernet port.
And what speed does that laptop port support? Do you have a small switch you can add between pfSense and your laptop? pfSense does not like a device directly connected to LAN. It likes to assumes the port is 'up' all the time.
Edit: in your screenshot there is
lx1: link state changed to up. Is there a similar entry forix0? -
Your actual config references "em0" and "em1".
Or, your system doesn't have these interfaces (NICs).
This can happen when you import a pfSense config from system A to system B.
Or, on this system A, you removed the emx type NICs and added a a dual ixx NIC and a dual "igc" NIC.Be ware : pfSense config is typically hardware bound because of these interface driver names.
A solution can be :
Open your config.xml file :<interfaces> <wan> <enable></enable> <if>em0</if> <descr><![CDATA[WAN]]></descr> <alias-address></alias-address> <alias-subnet>32</alias-subnet> <spoofmac></spoofmac> <ipaddr>dhcp</ipaddr> <dhcphostname></dhcphostname> <dhcprejectfrom></dhcprejectfrom> ...... other linbes here .... snpiied </wan> <lan> <enable></enable> <if>em1</if> <descr><![CDATA[LAN]]></descr> <spoofmac></spoofmac> <ipaddr>192.168.1.1</ipaddr> <subnet>24</subnet> <ipaddrv6>track6</ipaddrv6> <track6-interface>wan</track6-interface> <track6-prefix-id>0</track6-prefix-id> </lan> ... maybe other interfaces here </interfaces>You see the em0 and em1 lines ? One for WAN, one for LAN.
Change them in ix1 for WAN, and for example ix0 for LAN.
Do you havve other <optx> .... </optx> section ? Delete them for now.
Btw : xml files are syntax sensitive. Errors and typos are not allowed.
Save.
Import into pfSense.To make things even more simpler, remove the igc card for now.
Now look at the ports when pfSense is powered up.
When you slide in an 'active' WAN cable into the correct interface, you should see a this message :
if it says : "ix0 lik state changed to UP" you know you picked the wrong one.
The one not connect now is your LAN, but as it's the only one left.
Consider using a switch on the LAN interface, and have it shared the power with pfSense.
Connect your equipment to the switch. Don't connect a device like a PC directly to pfSense. Later on, you understand why ^^ -
It support a 1 gig connection.
in your screenshot there is lx1: link state changed to up. Is there a similar entry for ix0?
For ix0 nothing, at console I cannot see a LAN connection. If I reinstall pfsense and swap around which 10 gig port is a lan or wan, then the previous lan port is now the wan. This port is working. This proves there is nothing physically wrong with the Ethernet port.
OK, I will try a switch between the pfsense lan and my laptops Ethernet port. -
@Waqar.UK said in cannot get a lan connection:
at console I cannot see a LAN connection
How are you looking?
Run
ifconfig -vm ix0and see what it returns. See if it changes with a device connected or not. -
I was looking in Console.
Update. Installed it in my system after taking advice to use a switch to connect the LAN. Switch is a
TP-Link TL-SX105. This heats up so put a 120 mm fan on it.
Getting 10 gig on LAN and 2.5 gig on WAN (ONT has a 2.5 Gig Ethernet port).It was the Ethernet cables. I changed them and system worked.
Privacy Policy · Cookie Policy