Author Topic: Help - Ayuda  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Help - Ayuda
« on: December 31, 2020, 02:22:25 PM »
Hello, due to a problem with the ISPs in my area, they stopped providing Fixed IP, since they migrated services to fiber optics, and are having problems with fixed IPs.

Now the services were momentarily according to what one told me in about 1 month and the other between 2 and 3 months ... a mockery ... as follows

ISP1 = Pseudo Dynamic IP (15 days or modem reset of more than 1 hour) modem bridge mode for public ip
ISP2 = dynamic IP (24hs or modem restart) single-user modem


IMPORTANT NOTE: I DO NOT HAVE EMAILS I DO NOT NEED IT!

I currently have my homelab as follows:

1 server with 4NICs as Router (192.168.1.1) with opnsense or pfsense.
gbe0 = WAN = ISP1 in DHCP mode. (example WAN IP 181.181.181.181)
bge1 = WAN2 = ISP2 in PPPoE mode. (example WAN IP 182.182.182.182)
em0 = LAN -> switch -> Server2 with ProxMox (192.168.1.200) -> VM CWP (192.168.1.100) | VM test (192.168.1.101)
em1 = LAN -> another switch for the PCs in my house.

I have loadbalancer and failover configured.


Server 2 has 2 NICs (Proxmox and VM CWP)
nic1 -> to switch to em0
nic2 -> no use

My question is the following: I currently have my domains in cloudflare, and I point to the IP of ISP1 as follows:

domain.com -> 181.181.181.181 (my public ip ISP1)

Up to here everything works perfect ... the problem is that since it has load balancing the IP changes between the connections and for example, the CWP PRO is deactivated ... because the IP of the ISP1 and the IP of the Panel of CWP ... for CWP to work I must disconnect the WAN2 ... or wait for the connection to balance with ISP1 again.

now well ... to balance the domain itself ... I must add ..
A -> domain.com -> 181.181.181.181
A -> domain.com -> 182.182.182.182

I am right? so if for example the ISP1 falls .. I continue to enter through the ISP2?

I need this because the connections are unstable, for some moments they fall ... and not to stop having my CWP online.

or it suits me to do for example ...
ns1.domain.com -> 181.181.181.181
ns2.domain.com -> 182.182.182.182

and point the domains to ns1.domain.com and ns2.domain.com

and update the ips of the ns1 and ns2 with the api (like no-ip)?

at least until they solve the problem and return the fixed ip's.


As for the emails, it is not a problem because I have them also hosted on a Relay SMTP Server ...


----------------------------------


Hola, debido a un problema con las ISP de mi zona, dejaron de brindar IP Fija, ya que migraron los servicios a fibra optica, y estan teniendo problemas con las ip fijas.

Ahora los servicios quedaron momentaneamente segun me dijeron uno en aproximadamente 1 mes y el otro entre 2 y 3 meses... una burla... de la siguiente manera

ISP1 = IP Pseudo Dinamica (15 dias o reinicio de mas de 1 hora del modem) modem modo bridge para ip publica
ISP2 = IP dinamica (24hs o reinicio de modem) modem modo monopuesto


NOTA IMPORTANTE: NO TENGO EMAILS NO LO NECESITO!

Yo tengo actualmente mi homelab de la siguiente manera:

1 servidor con 4NICs como Router (192.168.1.1) con opnsense or pfsense.
gbe0 = WAN = ISP1 in DHCP mode. (example WAN IP 181.181.181.181)
bge1 = WAN2 = ISP2 in PPPoE mode. (example WAN IP 182.182.182.182)
em0 = LAN -> switch -> Server2 con ProxMox(192.168.1.200) -> VM CWP(192.168.1.100)  | VM test(192.168.1.101)
em1 = LAN -> otro switch para las pc de mi casa.

tengo configurado loadbalancer y failover.


Servidor 2 tiene 2 NICs (Proxmox and VM CWP)
nic1 -> to switch to em0
nic2 -> sin uso

mi duda es la siguiente yo actualmente tengo mis dominios en cloudflare, y apunto a la ip del ISP1 de la siguiente manera:

dominio.com -> 181.181.181.181 (my public ip ISP1)

hasta acá todo funciona perfecto... el problema recide en que como tiene balanceo de carga la ip cambia entre las conexiones y por ejemplo, se me desactiva el CWP PRO... porque no coincide la IP del ISP1 y la IP del Panel de CWP... para que funcione el CWP debo desconectar el WAN2... o esperar a que la conexion se balancee con el ISP1 nuevamente.

ahora bien... para balancear el dominio en si... debo agregar..
A - > dominio.com -> 181.181.181.181
A - > dominio.com -> 182.182.182.182

estoy en lo correcto? así si por ejemplo la ISP1 cae.. sigo entrando por la ISP2?

Esto lo necesito porque al estar las conexiones inestables, por algunos momentos se caen... y para no dejar de tener mi CWP en linea.

o me combiene hacer por ejemplo....
ns1.dominio.com -> 181.181.181.181
ns2.dominio.com -> 182.182.182.182

y apuntar los dominios a ns1.domain.com y ns2.domain.com

y actualizar las ips de las ns1 y ns2 con la api (like no-ip)?

al menos hasta que me solucionen el problema y me devuelvan las ip fijas.


En cuanto a los emails no me es problema porque los tengo alojados igualmente en un Relay SMTP Server...