Score:0

Policy Based Routing, why do I need another default route?

fr flag

Using this tutorial I set up a server which receives a tagged VLAN trunk. I distribute the individual VLANs to various bridges for different purposes e.g., virtual machines. The following configures the bridge, with the interface of the server hardware to the network:

auto brwan
iface brwan inet static
  address 192.168.178.99
  netmask 255.255.255.0
  bridge_ports eth0.999
  bridge_fd 0
  bridge_nowait 0
  post-up ip route add 192.168.178.0/24 dev brwan src 192.168.178.99 table admin-vlan
  post-up ip route add default via 192.168.178.1 dev brwan table admin-vlan
  post-up ip rule add from 192.168.178.0/24 table admin-vlan
  post-up ip rule add to 192.168.178.0/24 table admin-vlan
  # why do I need this?
  post-up ip route add default via 192.168.178.1

ip route list and ip route list table admin-vlan look roughly identical. ip rule show has from 192.168.178.0/24 lookup admin-vlan. So why do I need the default route in the default table, too?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.