LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-28-2022, 04:49 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
Help setting up interfaces and network routing


I have a VM with two interfaces. ens18 is connected to a span port and is to be used for that purpose; to monitor all traffic. ens19 is to be used to communicate with other devices on the network. I am running Ubuntu 22.04. I tried using netplan. I noticed promisc does not work in netplan, so I just do it manually with ip link; is there a permanent way to do this?
Attached images are of my netplan file, what ip route returns, and ip -br a output.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	12
Size:	9.2 KB
ID:	39782   Click image for larger version

Name:	Capture2.PNG
Views:	6
Size:	27.5 KB
ID:	39783   Click image for larger version

Name:	Capture3.PNG
Views:	9
Size:	5.5 KB
ID:	39784  
 
Old 10-31-2022, 10:02 AM   #2
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
I am unsure if it supports it now but the best bet is to use "ip link" like you now do but set it in systemd to run:

https://askubuntu.com/questions/1355...networkmanager
 
  


Reply



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
3 network interfaces - only works from boot with two interfaces enabled linux_driver Linux - Networking 4 11-26-2014 05:42 PM
ifup: couldn't read interfaces file "/etc/network/interfaces" dobharweim Linux - Networking 1 12-13-2013 11:20 AM
[SOLVED] /etc/network/interfaces configuration for virtual interfaces nonshatter Linux - Networking 4 10-25-2010 06:22 AM
ifup: couldn't read interfaces file "/etc/network/interfaces" debian lenny lorimer73 Linux - Networking 1 08-24-2010 03:47 PM
Setting of Interfaces and Routing Table swmok Linux - Networking 1 07-31-2003 06:44 AM

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

All times are GMT -5. The time now is 04:30 AM.

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