Author Topic: all traffic goes out on 1st IP of a /248 WAN  (Read 1564 times)

djedge

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
all traffic goes out on 1st IP of a /248 WAN
« on: October 11, 2012, 03:53:45 am »
Hello,

I have 5 static IPs from my ISP:

For example:

1.1.1.9 - gateway
1.1.1.10 -- static 1
1.1.1.11 --- static 2
1.1.1.12 --- static 3
1.1.1.13 -- static 4
1.1.1.14 -- static 5
.11 to .14 are virtual IP's in zentyal 3.0

the problem i'm having is that all traffic seems to go out .10 ... traffic coming out of the LAN is not going on the assigned outbound IP.

This is causing a huge problem with hosted email servers as the rDNS / PTR records are not always assigned to .10

Can anyone assist with this?

Thanks,

-Scott
« Last Edit: October 11, 2012, 03:56:13 am by djedge »

christian

  • Guest
Re: all traffic goes out on 1st IP of a /248 WAN
« Reply #1 on: October 11, 2012, 07:53:35 am »
How do you assign traffic to go out via .10 ?

Regarding reverse DNS and PTR, I faced similar kind of problem while using 2 different IPs (from 2 different providers therefore different domains) as it really has impact on SMTP.
I fixed it by customizing master.cf as explained in my "request for change" here.

djedge

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: all traffic goes out on 1st IP of a /248 WAN
« Reply #2 on: October 12, 2012, 04:57:32 pm »
I didn't assign anything to go out of .10... it does it by default it seems :(

let me clarify...

What i really need to know is can you can set up filtering rules to send traffic coming from a LAN address IE: 192.168.0.13 to go out on the external IP of xx.xx.xx.13

-Scott

christian

  • Guest
Re: all traffic goes out on 1st IP of a /248 WAN
« Reply #3 on: October 12, 2012, 05:25:10 pm »
From network standpoint, if all routes are valid and if nothing is done, I even don't know if it's not going to be "random" except if you bind your service on one specific interface. This said, Zentyal embeds "iproute2" which permits to define priorities as described here.
Keep in mind you can also define routes.

ichat

  • Zen Hero
  • *****
  • Posts: 795
  • Karma: +28/-16
  • RTFM!
    • View Profile
Re: all traffic goes out on 1st IP of a /248 WAN
« Reply #4 on: October 12, 2012, 07:05:04 pm »
the thing that im concerned about is,

if 11 12 13 and 14  are all virtual ips...

did your provider add thair default routes through x.y.z.10...    if not than  how are your routing these vIP's
are they accesable from the wan side.

if my memory serves me right, either you use 'vlans'   or subnetting....   but i could be mistaking?

All tips hints and advices are based on my personal experience.
As I try my best to be as accurate as possible, following my advice is always at your own risk,
I claim absolutely NO responsibility in any way!