Translate

Thursday, June 13, 2013

Tips and Tricks for OpenBSD - Network Configuration

.: Network Configuration :.

This is a quick guide for those new to OpenBSD who want to setup network. In a general way, all you have to do is to edit 3 files:

# /etc/hostname.bge0 : noticed that the extension of this file is the name of the network card? ;-)
   192.168.7.70 255.255.255.0 NONE
# /etc/myname : contains the hostname
    flagmachine
# /etc/mygate : this file contains the network gateway
   192.168.7.254

Now just run the system script to restart the interface!
sh /etc/netstart bge0

That's it! :)

No comments:

Post a Comment