interface name problem

Issues related to configuring your network
Post Reply
nike
Posts: 72
Joined: 2018/05/07 14:05:24

interface name problem

Post by nike » 2018/05/10 07:41:28

My centos server showing network interface card's name -- enp4s8 .If i use this name in my iptables rule, will there any problem in ip routing ? bcz i have already used it but it is not work for ip routing ....any solution for it ???

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: interface name problem

Post by TrevorH » 2018/05/10 14:17:46

It's perfectly valid to include -i enp4s8 in your iptables rules and if it doesn't work then it's more likely a problem with your rules than the interface specification. Post the output of iptables-save run as root - it just prints the rules in the easiest to read format.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nike
Posts: 72
Joined: 2018/05/07 14:05:24

Re: interface name problem

Post by nike » 2018/05/17 13:56:23

TrevorH wrote:It's perfectly valid to include -i enp4s8 in your iptables rules and if it doesn't work then it's more likely a problem with your rules than the interface specification. Post the output of iptables-save run as root - it just prints the rules in the easiest to read format.
thanks for reply.......i find the problem in iptables and solved it ....

Post Reply