My freebsd has multiple network interfaces and have one default gateway e.g. 192.168.0.1/24 . I want that the gateway should be 10.0.0.1/24 when any request/traffic arrives on the IP 10.0.0.20/24, I mean it should not consider the default gateway when the traffic comes for IP 10.0.0.20/24 ...
I have a Digital Ocean droplet running FreeBSD 12.1-p10 and I am experiencing slow responses to pkg commands. In order to investigate I tried disabling IPv6 (without much success) and did a
service netif restart
after which my droplet was unavailable. Accessing it via the console showed me that...
My server upgrade to 12.0-Release and found news about VIMAGE into GENERAL config, meant VIMAGE ready for product environment.
So I wish to migrate exist ordinary jail to VIMAGE infrastructure too :).
But procedure stopped at default gateway.
Current ordinary jail environment detail...
Probably I'm missing something obvious, but this is just my second box with IPv6, never have dealt with it before. I cannot add a default gateway:# route add -inet6 default xxxx:52c0:101::1
route: writing to routing socket: Network is unreachable
I have a machine that I use for a "lab" that has (at least) two ethernet ports: em0 and em1
Both are connected to different networks with their own DHCP servers. em0 is always connected to the "production" network that has Internet access and em1 is connected to the "lab" network. Sometimes...
FreeBSD 10.3-RELEASE-p7 r304924M
VM under hyperv
simple ipfw rules
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 deny ip from any to ::1
00500 deny ip from ::1 to any
00600 allow ipv6-icmp from :: to...
As illustrated below, I rebooted my machine and immediately ran netstat -rn followed by service netif restart. I then executed ifconfig to verify the network interfaces were properly up, and ran netstat -rn again. The entry
default 192.168.1.1 UGS re1 present in the first netstat results...