Parallels bridged networking with Ubuntu Server


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

If Ubuntu Server fails to resolve hostnames or find a network connection via Parallels 3 bridged networking, it may be attempting to use the wrong network interface.


Copy this code and paste it in your HTML
  1. # what interfaces are supposed to be used?
  2. cat /etc/network/interfaces
  3.  
  4. # what interfaces are actually in use?
  5. ifconfig
  6.  
  7. # mine showed only 'lo' (local loopback) in use,
  8. # but eth0 was supposed to auto-init too.
  9. # so let's see what's happening when eth0 is attempted
  10. sudo ifdown -a
  11. sudo ifup -a
  12.  
  13. # voila! there is no such interface
  14. # edit the /etc/network/interfaces references to 'eth0' to 'eth1'
  15.  
  16. # then re-init...
  17. sudo ifdown -a
  18. sudo ifup -a
  19.  
  20. # re-confirm the new interface is now in use
  21. ifconfig

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.