Linux, disable L2 forwarding

15 pts.
Tags:
Ethernet
Linux servers
I have a Linux server with two Ethernet interfaces. ETH0 is connected to LAN. I'd like to use ETH1 as port for a packet generator. I disabled IP forwarding but still I get all broadcasts (DHCP, SSDP,... ) forwarded on eth1. I'd like to stop all this routing process and get a fully LAN-isolated eth1. How can I achieve that ?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Your system has two NICs. that's OK. But if they are both bridged/ how did they connected? Is there any routing tables? Whatever it is, you can use IP tables command to overcome this issue.
    89,080 pointsBadges:
    report
  • papymuzo
    They are not bridged, but they are both served by the same Network Stack. In consequence it is normal the broadcasts on eth0 are forwarded on eth1. I am looking for a way to stop that. Thanks.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: