Add and remove a dummy interface in Linux


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #Add a dummy interface as root
  2. ifconfig dummy0 192.168.1.1
  3.  
  4. #Remove a dummy interface as root
  5. ifconfig dummy0 down

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.