Hi
I did mention the Windows IP values, if you could produce then in a txt file, and compare them to the Ubuntu values it may show a discrepency.
Code:
Netfixer.bat
##############
:: NetFixer.bat, Copy, Paste & Save As..
:: Using a text editor like Notepad.
:: You can edit the file to your needs.
:: EG-Removing the :: in front of
:: ::ipconfig -all >>IPs.txt to create
:: a text file called IPs.txt to study.
:: Run as Administrator for best effect.
@ECHO THIS MIGHT HELP TO REPAIR/RECTIFY
@ECHO SOME SIMPLE NETWORK DIFFICULTIES.
@ECHO....................................
@ECHO THE RESULTS MAY VARY ACCORDING TO
@ECHO YOUR CONFIGURATION AND USER LEVEL
@ECHO A RE-START SHOULD BE MADE AFTER
@ECHO RUNNING SOME OF THE ABOVE TESTS
@ECHO....................................
:MENU
@ECHO TYPE IN THE RELEVANT MENU CHOICE
@ECHO....................................
@ECHO.
@ECHO 0 - PING_LO Ping test to 127.0.0.1
@ECHO 1 - PING_MS Ping test to Microsoft
@ECHO 2 - GET_MAC Obtain MAC address(es)
@ECHO 3 - GET_IPs Lists all IP addresses
@ECHO 4 - IPvFOUR Reset to remove errors
@ECHO 5 - IP_RNEW Force/Renew IP address
@ECHO 6 - IPv_SIX Reset to remove errors
@ECHO 7 - NBTSTAT NETBIOS -Renew -Repair
@ECHO 8 - NETSTAT All Network Statistics
@ECHO 9 - SH_WLAN Display WLAN interface
@ECHO A - ARP_TAB Displays ARP IP tables
@ECHO B - NS_LKUP Shows your Name Server
@ECHO C - SYS_SUM System Summary Windows
@ECHO D - DNS_FIX Flush and Register DNS
@ECHO E - WINSOCK Reset to remove errors
@ECHO F - FINISHD Close this Command Box
@ECHO ...................................
@ECHO OFF
COLOR B1
SET /P M= _Select 0-9,A-F, then press ENTER:
IF %M%==0 GOTO PING_LO
IF %M%==1 GOTO PING_MS
IF %M%==2 GOTO GET_MAC
IF %M%==3 GOTO GET_IPs
IF %M%==4 GOTO IPvFOUR
IF %M%==5 GOTO IP_RNEW
IF %M%==6 GOTO IPv_SIX
IF %M%==7 GOTO NBTSTAT
IF %M%==8 GOTO NETSTAT
IF %M%==9 GOTO SH_WLAN
IF /I %M%==A GOTO ARP_TAB
IF /I %M%==B GOTO NS_LKUP
IF /I %M%==C GOTO SYS_SUM
IF /I %M%==D GOTO DNS_FIX
IF /I %M%==E GOTO WINSOCK
IF /I %M%==F GOTO FINISHD
:PING_LO
ping LOOPBACK
GOTO MENU
:PING_MS
ping MICROSOFT.COM
GOTO MENU
:GET_MAC
getmac | more /c
:: getmac >> GetMac.txt
:: Notepad GetMac.txt
GOTO MENU
:GET_IPs
ipconfig -all | more /c
:: ipconfig -all >>IPs.txt
:: Notepad IPs.txt
GOTO MENU
:IPvFOUR
netsh int ipv4 reset reset.log
GOTO MENU
:IP_RNEW
ipconfig /release
ipconfig /renew
GOTO MENU
:IPv_SIX
netsh int ipv6 reset reset.log
GOTO MENU
:NBTSTAT
nbtstat -RR
GOTO MENU
:NETSTAT
netstat -e -r -s | more /c
:: netstat -e -r -s >> NetStat.txt
:: Notepad NetStat.txt
GOTO MENU
:SH_WLAN
netsh wlan show drivers | more /c
netsh wlan show interfaces | more /c
GOTO MENU
:ARP_TAB
arp /a
GOTO MENU
:NS_LKUP
nslookup /ns
GOTO MENU
:SYS_SUM
msinfo32
GOTO MENU
:DNS_FIX
ipconfig /flushdns
ipconfig /registerdns
GOTO MENU
:WINSOCK
netsh winsock reset catalog
GOTO MENU
:FINISHD
EXIT
######################################
Specifically look at the Gateway numbers and NetMask; (255.255.0.0 - 192.168.3.0) as used by Windows
Bookmarks