[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip address and netmask



Harland Christofferson wrote:

I am slowly working toward a vpn between the office and home. I now have to change my lan at work so as not to conflict w/ the lan at home.
at work, i reconfigured my eth1 interface:

eth1         192.168.2.1 255.255.254.0
eth1:0       192.168.1.1 255.255.255.0

the windblows machine i have connected to eth1 is 192.168.1.100 255.
255.255.0 this configuration will conflict w/ the lan at home. when i reconfigure the windblows machine to 192.168.2.100 255.255.254. 0, it arps but i cannot ping 192.168.2.1 i don't think the ip address is outside of the range of the netmask but maybe i am incorrect?

suggestions?

After looking into this further, I am still perplexed. Here is the topology I started w/:


my windows workstation
192.168.1.100/24 ------|   debian gw        corporate gw
                      |--192.168.1.1/24 -- 10.20.4.40/23
                            eth1               eth0
isp
24.45.154.0/24 -----|   my debian gw          my home lan
                   |-- 192.168.1.1/24 ---|---192.168.1.0/24
eth0 eth1 So, to get any VPN working (openVPN in my case), I have to change the addressing scheme on my windows workstation at work and the GW at work. Easy enough, right? Well ... I thought I could change the addresses to 192.168.2.100/24 and 192.168.2.1/24 respectively. When I do this, the workstation and GW at work do not communicate between each other. I can see arp requests and replys between the two work 192.168.1.0/24 machines, but I cannot ping nor get to the corporate gw from the workstation. I should know by now what I am doing wrong but it is not obvious to me.

Suggestions?



isp





Reply to: