Ask Your Question
0

How could I know which veth pairs are running in the current linux host

asked 2013-07-12 03:12:55 -0500

xuyang06 gravatar image

Hi, I have a question related to the veth pair that is used in Quantum. I know that Quantum used veth pair. Thus, I want to know which veth pair is running in the current host, which I mean querying the pair by using the linux command. I know that to construct veth pair, you can simply by using "ip link add name1 type veth name2". But I haven't found an command to query the current running veth pair. If you know how to realize the query function, could you please tell me? This would help me a lot. Thanks, :).

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-12 18:42:14 -0500

xuyang06 gravatar image

Thanks Darragh O'Reilly, that solved my question.

edit flag offensive delete link more
0

answered 2013-07-12 18:35:30 -0500

darragh-oreilly gravatar image

try 'ethtool -S name' - I think it returns the number as in 'ip link' - this worked for me on ubuntu.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-12 03:12:55 -0500

Seen: 30 times

Last updated: Jul 12 '13