Skip to main content
Topic: static network configuration (Read 1164 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: static network configuration

Reply #15
FWIW, to solve this you need to create links from /etc/init.d/net.lo to eth0 etc al, and then make chages to the config file
/etc/conf.d/net
[[email protected] init.d]$ grep -v "#" /etc/conf.d/net
config_eth0="96.57.23.83/29"
config_eth1="10.0.0.37/24"
routes_eth0="default via 96.57.23.81
10.0.0.0/24 via 10.0.0.5
96.57.23.80/29 via 96.57.23.81
dns_domain_eth0="mrbrklyn.com"
dns_servers_eth0="10.0.0.5 166.84.1.2"
dns_domain_eth1="mrbrklyn.com"
dns_servers_eth1="96.57.23.83  166.84.1.2"




The links look like this
total 388
drwxr-xr-x 68 root root  4096 Oct  7 18:31 ..
drwxr-xr-x  2 root root  4096 Oct  7 17:31 .
lrwxrwxrwx  1 root root    18 Oct  7 17:31 net.eth1 -> /etc/init.d/net.lo
lrwxrwxrwx  1 root root    18 Oct  7 17:31 net.eth0 -> /etc/init.d/net.lo



How do I get port forwarding to work?  I had to echo 1 > /proc/sys/net/ip4v/ip_forward

Or something like that