Thanks for the quick response, Charlie!
OK, for now, I have the external going to an internal port on the FVS318. It
does receive an IP from DHCP on the 318, and ifconfig -a yields the
actual MAC of the NIC, not the MACADDR I've returned in 90otherparams.
Here is the entire
/etc/e-smith/templates-custom/etc/sysconfig/network-scripts/ifcfg-ethX/90otherparams file right now:
{
use esmith::util;
if ($ifup_this_device eq "no")
{
# Need syntactically valid IP address to avoid complaints
# from init.d/network script
return "IPADDR=1.1.1.1";
}
if ($is_external)
{
# We are now running a supervised dhcpcd - setting the BOOTPROTO to "none"
# allows the supervised dhcpcd to do the work without fighting with ifup
return "BOOTPROTO=none" if ($ExternalDHCP eq "on");
my ($network, $broadcast) = esmith::util::computeNetworkAndBroadcast ($ExternalIP, $ExternalNetmask);
return "BOOTPROTO=none\n" .
"MACADDR=<
MAC I want in xx:xx form>\n".
"IPADDR=$ExternalIP\n" .
"NETMASK=$ExternalNetmask\n" .
"NETWORK=$network\n" .
"BROADCAST=$broadcast";
}
return "" unless ($is_internal);
my ($network, $broadcast) = esmith::util::computeNetworkAndBroadcast ($LocalIP, $LocalNetmask);
return "BOOTPROTO=none\n" .
"IPADDR=$LocalIP\n" .
"NETMASK=$LocalNetmask\n" .
"NETWORK=$network\n" .
"BROADCAST=$broadcast";
}
The
/etc/sysconfig/network-scripts/ifcfg-eth1 file is as follows:
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see
http://www.e-smith.org/custom/#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------
TYPE=Ethernet
DEVICE=eth1
USERCTL=no
ONBOOT=no
PEERDNS=no
IPV6INIT=no
IPADDR=1.1.1.1
Obviously, I'm doing something wrong here....are there steps I should repeat, or is the coding wrong?