Author Topic: zentyal 3.5 dhcp external interface not creating default route  (Read 1612 times)

eraskin

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Hi:

I have a brand new 3.5 zentyal installation.  I have configured an external dhcp connection (connected to my cable modem).  Whenever I start up zentyal, the external interface comes up but the default route is not set.  I have the interface configured as external.  The resulting /etc/network/interfaces file I get looks correct:

# cat /etc/network/interfaces
auto lo eth0 eth1

iface lo inet loopback

iface eth0 inet static
      address 192.168.10.4
      netmask 255.255.255.0
      broadcast 192.168.10.255

iface eth1 inet dhcp

The resulting routing table after an "ifup eth1" is:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
74.89.144.0     0.0.0.0         255.255.248.0   U     0      0        0 eth1
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

As you can see, the gateway is not set.  I can add it manually:

# route add -net 0.0.0.0 gw 74.89.144.141
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         74.89.144.141   0.0.0.0         UG    0      0        0 eth1
74.89.144.0     0.0.0.0         255.255.248.0   U     0      0        0 eth1
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0


What am I doing wrong?

AndiR

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: zentyal 3.5 dhcp external interface not creating default route
« Reply #1 on: February 22, 2015, 04:18:20 pm »
If anyone is still searching for an answer to this question..
I think looking at the following topic could help: https://forum.zentyal.org/index.php/topic,24212.0.html