Debian network interface configuration

Tags: Linux, Debian Date: 2013-07-17

This is a reminder as I always seem to forget something.

/etc/network/interfaces:

auto eth0
iface eth0 inet static
	pre-up iptables-restore < /etc/iptables.conf
	address 192.168.0.0
	netmask 255.255.0.0
	network 192.168.0.0
	broadcast 192.168.255.255
	gateway 192.168.0.1



Thanks for reading this post!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!