Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Default Gateway/NIC issue
View previous topic :: View next topic  
Author Message
igor948
Junior Member


Joined: 08 Dec 2010
Posts: 18

PostPosted: Wed Jan 17, 2018 4:10 am    Post subject: Default Gateway/NIC issue Reply with quote

I was working on my rack and tripped over the power cable unplugging my server. Upon booting back up, the server will not talk to the default gateway. I can ping the eth0 assigned IP address, but it will not ping the gateway. Everything appears to exist properly in the conf file. I've replaced cable and changed the switch port just in case. The proper setting appear in ifconfig. Any ideas? Or should I just re-install the OS?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1742
Location: Greece

PostPosted: Sat Jan 20, 2018 5:50 pm    Post subject: Reply with quote

Sorry for the late reply, didn't see the new message earlier...

What's the output of "route"
Is your default gateway there?

Also output of "ifconfig -a" or "ip link"

You can try to re assign the gateway with
Code:
route add default gw <your-gateway>



Can you ping the machine from outside...?

No need to reinstall anything by the way Smile

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
igor948
Junior Member


Joined: 08 Dec 2010
Posts: 18

PostPosted: Wed Jan 24, 2018 4:13 pm    Post subject: Reply with quote

Sorry for the delay, I was out of town.

I cannot contact the server from outside via ICMP, SSH, HTTTP or anything else. The only way that I have to get the info to you is to attach links to photos of the output that you asked for...sorry about that.

http://test.mobileitsolutions.net/pic/ip_link.jpg
http://test.mobileitsolutions.net/pic/ip_link.jpg

It is probably something simple, but I am not a command line warrior quite yet...Very Happy
Back to top
View user's profile Send private message
igor948
Junior Member


Joined: 08 Dec 2010
Posts: 18

PostPosted: Wed Jan 24, 2018 4:14 pm    Post subject: Reply with quote

I did the "route add" command, but nothing changed.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1742
Location: Greece

PostPosted: Wed Jan 24, 2018 10:14 pm    Post subject: Reply with quote

ip link shows state down, meaning there is no link...
What "ethtool eth0" & "ethtool eth3" says?
Does it detect link?
You have only 2 network cards ? eth0 and eth3 can you confirm the hardware addresses?

Also you can confirm the correct ethernets from udev rules at

/etc/udev/rules.d/70-persistent-net.rules

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
igor948
Junior Member


Joined: 08 Dec 2010
Posts: 18

PostPosted: Wed Jan 24, 2018 11:56 pm    Post subject: Reply with quote

Thanks for the help. It appears that my motherboard just died. So I get to rebuild and re-install anyway. I appreciate your time
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1742
Location: Greece

PostPosted: Fri Jan 26, 2018 9:57 pm    Post subject: Reply with quote

If it's the NIC only, just replace the NIC, if it's the MB, well that's a bummer, I know the feelling I replace a lot of motherboards on mine, but as I said before no need to reinstall anything, just swap motherboards and boot SMS.

You need to edit /etc/udev/rules.d/70-persistent-net.rules only after booting, to rename eth device as it will shown as eth4 and eth5 probably since eth0 and eth3 are from old motherboard.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional