Network no Connect
Hi guys, i dont have connect with the red 10.0.0.0/24 and i dont know why.
Centos 7.1 file /etc/sysconfig/network-scripts/ifcfg-em1 DEVICE=em1 BOOTPROTO=static IPADDR=10.0.0.214 NETMASK=255.255.255.0 NETWORK=10.0.0.0 ONBOOT=yes GATEWAY=10.0.0.4 DNS1=10.0.0.100 file /etcsysconfig/network NETWORKING=yes file /etc/resolv.conf nameserver 10.0.0.100 Command # route add default gw 10.0.0.4 em1 # service network restart # ifdown em1 # ifup em1 #route -n Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 em1 0.0.0.0 10.0.0.4 0.0.0.0 UG 0 0 0 em1 I dont have ping to 10.0.0.4 or any ip in the red 10.0.0.0 Help please, thanks friends. |
post the ouput of the following commnad:
Code:
ifconfig -a |
|
Solved.
Problem: Before the server was VM, then the swith config are switchport mode trunk, but now the server is a centos 7.1 Solved: Change switch config in switchport mode access vlan x, and it's alive. Thanks, friends. |
All times are GMT -5. The time now is 05:26 AM. |