LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2016, 10:53 AM   #1
lleddac
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Network outbound fine, inbound unreachable


I have a VM Centos 6.4 server setup on VMWare and am running Opencart on it as well as several other services. I can access everything on the box from the local subnet but cannot reach any services including ping from different subnets. I believe I have iptables turned off presently as well as selinux disabled.
There are two NICs on the VM eth0 and eth1. eth0 is the problem interface, statically assigned IP, eth1 seems to work fine, reservation dhcp address. Both NICs are on the same subnet.
I've checked both interfaces in the /etc/sysconfig/network-scripts/ cannot see any problems.

DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR=XXX.XXX.71.3
PREFIX=24
GATEWAY=XXX.XXX.71.1
DNS1=XXX.XXX.71.144
DNS2=XXX.XXX.71.11
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
HWADDR=00:50:56:A3:00:06


DEVICE="eth1"
NM_CONTROLLED="yes"
ONBOOT="yes"
HWADDR=00:50:56:A3:00:05
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04


iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

cat /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
 
Old 01-21-2016, 02:30 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
What's your 'route' output? Is there one VM two NICs, eth0 and eth1?
 
Old 01-22-2016, 03:57 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,149

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
have you tried to troubleshoot using the commands below:

route -n

ip route list

post the output.
 
Old 01-23-2016, 10:18 AM   #4
lleddac
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Smile disabled other interface

I ended up disabling eth1 and restarted the box. All is good now. Not sure why having two interfaces on the same subnet would cause issues but it is working now.
 
Old 01-25-2016, 02:40 PM   #5
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Wrong route entry could cause the issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining inbound vs outbound elfoozo Linux - Networking 1 03-14-2011 03:08 PM
Asterisk Inbound & Outbound Franxez Linux - Server 5 10-01-2009 07:48 AM
Inbound vs Outbound ports? olddocks Linux - Security 3 02-10-2008 12:19 AM
Suspicious Inbound/Outbound traffic dimitris.kalamaras Linux - Security 5 04-04-2006 09:30 AM
catch all inbound and outbound emails mitzadej Linux - Software 1 04-03-2006 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration