My ISP gave me connection details as follows:
a.b.c.d is just one valid public ip address
IP address: a.b.c.d
Netmask: 255.255.255.255
Gateway: a.b.c.1
so putting this into /etc/rc.conf
causes network unreachable, heard that linux has commands:
does anybody know how to achieve this /32 network connection with FreeBSD?
i also tried set static routing in /etc/rc.conf, but no success
a.b.c.d is just one valid public ip address
IP address: a.b.c.d
Netmask: 255.255.255.255
Gateway: a.b.c.1
so putting this into /etc/rc.conf
Code:
ifconfig_bge0="inet a.b.c.d netmask 255.255.255.255"
defaultrouter="a.b.c.1"
Code:
/bin/ip addr add a.b.c.d/32 dev eth0
/bin/ip route add default via a.b.c.1 dev eth0 onlink
/bin/ip link set up dev eth0
does anybody know how to achieve this /32 network connection with FreeBSD?
i also tried set static routing in /etc/rc.conf, but no success
Code:
ifconfig_bge0="inet a.b.c.d netmask 255.255.255.255"
defaultrouter="a.b.c.1"
static_routes="defgw"
route_defgw="-host a.b.c.1 -iface bge0"