- Running latest FreeBSD
- Previously static IP, ssh, and apache22 were running fine
- Box is a test box so decided to try to use it as a bridge (no DNS, DHCP or firewall. Basic straight through bridge).
- Bridge set up last night but now can't access ssh or apache. I assume it's related to IPs and the bridge setup?
Not sure how to proceed. I want the bridge to work and be able to access ssh and apache22. I tried to leave two NICs alone and assign static IP to bridge0 but when I did in /etc/rc.conf the bridge wouldn't work. Like
200.10 is outside my router's DHCP range so no IP conflict. Then I tried to assign static IP to a single NIC but that would disable the bridge too. So right now there is no IP set in rc.conf and the bridge works.
So I read about alias and tried to set that up in rc.conf:
With that being only set IP in rc.conf the bridge works, and device 1 has "inet 10.0.200.15" when I ifconfig -a so I assume the alias is up and running. Now what? Ports are forwarded to the static IP on alias0 but ssh and apache still don't work. I tried to set apache listening address to the static IP (with port) but that didn't work either.
To be honest I'm not sure if I'm even on the right path?! Any help, advice, links to information I should read would be appreciated. -Thanks
- Previously static IP, ssh, and apache22 were running fine
- Box is a test box so decided to try to use it as a bridge (no DNS, DHCP or firewall. Basic straight through bridge).
- Bridge set up last night but now can't access ssh or apache. I assume it's related to IPs and the bridge setup?
Not sure how to proceed. I want the bridge to work and be able to access ssh and apache22. I tried to leave two NICs alone and assign static IP to bridge0 but when I did in /etc/rc.conf the bridge wouldn't work. Like
Code:
ifconfig_bridge0="inet 10.0.200.10 netmask 255.255.255.0"
So I read about alias and tried to set that up in rc.conf:
Code:
ifconfig_fx0_alias0="inet 10.0.200.15 netmask 255.255.255.252"
To be honest I'm not sure if I'm even on the right path?! Any help, advice, links to information I should read would be appreciated. -Thanks