From 345c1337984dd92bb033d4d089324bc992514153 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 6 May 2009 21:28:00 +0000 Subject: [PATCH] [cavium-octeon] add default network configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15643 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../base-files/etc/config/network | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 target/linux/cavium-octeon/base-files/etc/config/network diff --git a/target/linux/cavium-octeon/base-files/etc/config/network b/target/linux/cavium-octeon/base-files/etc/config/network new file mode 100644 index 0000000000..44c57940e2 --- /dev/null +++ b/target/linux/cavium-octeon/base-files/etc/config/network @@ -0,0 +1,18 @@ +# Copyright (C) 2009 OpenWrt.org + +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname eth1 + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + +config interface wan + option ifname eth0 + option proto dhcp