Hi Guys.
recently i got a Dedicated server with one Ip.
and on my side i got man domains, which i want to point for differents ip's but in one server.
I can get ip from provider but i've to by.
ok bying is not big deal.
But the point is i'm making Email Marketing for my clients, so i don't want to send all emails in one IP.because sometimes IP's are blacklisted and i want if i send something like 200 emails, at leats i must forward with 4 IP, something like Ip Rotation.

So my question is:i tryed add virtual interface something like

ifcg-eth0:0=192.168.0.2 , ifcg-eth0:2=192.168.0.3

where my primary IP is

ifcg-eth0=192.168.0.1

, but my bug is, i can see it only on local server.

If i request the ip outside of network i can't see it.
So my mind said to me, like i must redirect, making eth0 with 192.168.0.1 be gateway and dns for INPUT AND OUTPUT.
SO if someone outside

    ping 192.168.0.2

, then 192.168.0.1

receive the request and return with 192.168.0.2

The idea is making eth0 the default gateway for all my virtual interfaces(

ifcf-eth0:0,....1..2..ect

).

So how can i do that with iptables or another solution.
Regards

Dani AI

Generated

The behaviour describes (aliases visible on the host but not from outside) is almost always an upstream routing/ARP issue rather than a Linux bug. Binding extra addresses on the server makes them locally usable, but the datacenter/router must either (A) put those IPs on the same L2 (so the host answers ARP) or (B) route the addresses to the server’s primary IP. If the provider hasn’t configured one of those, outside pings never reach the aliases.

Practical checklist (in order of action):

  • Confirm with the provider how extra IPs are delivered: routed to the primary IP, assigned on the same VLAN, or delivered via a VLAN/MAC binding. Ask for gateway, netmask/prefix and whether /32 host routes are expected.
  • If the provider routes the IPs, configure the addresses exactly as they prescribe (many hosts expect /32 + a route via the gateway). If the IPs are on the same LAN, simple address add/aliasing is fine.
  • When sharing a single NIC with many addresses, adjust ARP behaviour to avoid “ARP flux” (example sysctl changes shown below — apply only if provider uses same-L2 addressing and after testing):
sysctl -w net.ipv4.conf.all.arp_announce=2
sysctl -w net.ipv4.conf.all.arp_ignore=1
ip addr add 203.0.113.2/32 dev eth0
ip route add 203.0.113.2/32 via 203.0.113.1
  • If the provider will not route extra IPs, options are NAT (public IP -> private addresses on the server) or creating separate VMs (as recommended). SolusVM + per-VPS IPs provides isolation and easier per-IP mail control, but the provider must still supply or route the public addresses.

Operational and policy notes: respect provider AUP and anti‑spam rules (echoing ’s caution). For legitimate bulk mail, create per‑IP PTRs, SPF/DKIM/DMARC records, warm new IPs slowly, monitor blacklists and complaint rates, and avoid rotating IPs to evade blocks — that damages deliverability and risks service termination.

Recommended Answers

All 3 Replies

Are you seriously asking for help in setting up Email spam?

One common method is to create a bunch of virtual machines, each with its own IP, and partition the job to those. That is basically how we did it for Adobe's Email Campaign software, used by many major vendors for email campaigns - and no, they aren't spam, per se! And users can easily opt out of receiving those emails. So, if you are a Barnes and Noble customer, this is the technology they use to send out information about sales, coupons, and such to their many millions of registered customers.

Thanks rubberman.
I'm just using solusvm to get more vps inside of my dedicated server.
And i found that only option is better is getting vm.
Thanks for reply.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.