Maybe hosts needs to be written differently.
etc/hosts
::1 localhost.dom.asdf localhost
127.0.0.1 localhost.dom.asdf localhost
192.168.0.2 fwBox.dom.asdf fwBox
192.168.0.3 fwBox.dom.asdf fwBox
192.168.0.4 browser.dom.asdf browser
if there is an obvious problem in having two nic cards represented this way in hosts then that's my problem, else read on (please).
given
box with 2 nics for fbsd firewall
this works
sysinstall / eth0 dev config / ipv6 config / dhcp config
can ping itself and the internet (through qwest dsl modem)
2nd nic fails to configure
sysinstall / eth1 dev config / ipv6 config / skip dhcp config
not sure what to put in for gateway
this card is hooked up to a switch to allow another pc to browse
select dsl modem as gateway and it screws up what used to work;
select card out to dsl modem (eth0) for gateway, and same;
select itself, again it messes up what's allready working;
select browser box as gateway, same result.
...actually it's a different problem that's created with each of the above attempts, but a problem just the same.
There are only two boxes and 4 network devices here. That's all the choices.
Each time I retry to get the 2nd card to configure I delete the lines from rc.conf added by sysinstall, rewrite the hosts file and run rc.d/netif restart, then setup the dhcp (that works), then whatever I put in for the 2nd card hoses up my hosts file. Maybe hosts needs to be written differently.
etc/hosts
::1 localhost.dom.asdf localhost
127.0.0.1 localhost.dom.asdf localhost
192.168.0.2 fwBox.dom.asdf fwBox
192.168.0.3 fwBox.dom.asdf fwBox
192.168.0.4 browser.dom.asdf browser
(deja vu dude)
I am guessing its the 2nd line for fwBox in hosts that is the problem, or maybe I need a line in the box for extra config information for ifconfig when configuring the 2nd nic.
Please tell me what to select for the gateway of the 2nd card in the fwBox and I will post the netstat -nr, etc/hosts, ifconfig
Thanks
sid
etc/hosts
::1 localhost.dom.asdf localhost
127.0.0.1 localhost.dom.asdf localhost
192.168.0.2 fwBox.dom.asdf fwBox
192.168.0.3 fwBox.dom.asdf fwBox
192.168.0.4 browser.dom.asdf browser
if there is an obvious problem in having two nic cards represented this way in hosts then that's my problem, else read on (please).
given
box with 2 nics for fbsd firewall
this works
sysinstall / eth0 dev config / ipv6 config / dhcp config
can ping itself and the internet (through qwest dsl modem)
2nd nic fails to configure
sysinstall / eth1 dev config / ipv6 config / skip dhcp config
not sure what to put in for gateway
this card is hooked up to a switch to allow another pc to browse
select dsl modem as gateway and it screws up what used to work;
select card out to dsl modem (eth0) for gateway, and same;
select itself, again it messes up what's allready working;
select browser box as gateway, same result.
...actually it's a different problem that's created with each of the above attempts, but a problem just the same.
There are only two boxes and 4 network devices here. That's all the choices.
Each time I retry to get the 2nd card to configure I delete the lines from rc.conf added by sysinstall, rewrite the hosts file and run rc.d/netif restart, then setup the dhcp (that works), then whatever I put in for the 2nd card hoses up my hosts file. Maybe hosts needs to be written differently.
etc/hosts
::1 localhost.dom.asdf localhost
127.0.0.1 localhost.dom.asdf localhost
192.168.0.2 fwBox.dom.asdf fwBox
192.168.0.3 fwBox.dom.asdf fwBox
192.168.0.4 browser.dom.asdf browser
(deja vu dude)
I am guessing its the 2nd line for fwBox in hosts that is the problem, or maybe I need a line in the box for extra config information for ifconfig when configuring the 2nd nic.
Please tell me what to select for the gateway of the 2nd card in the fwBox and I will post the netstat -nr, etc/hosts, ifconfig
Thanks
sid